Jump to content

Wordpress header center.


attila2452
 Share

Recommended Posts

howcome my wordpress theme header 1 wont center?http://johnny-erhardt.host-ed.net/

#header{width:950px; height:140px;}#header h1{width:950px}#header h1 a{display:block;font-size:42px;text-align:middle;color:#FFFFFF;text-decoration:none;text-shadow:0 0 30px blue;}

Link to comment
Share on other sites

1. There is no 'middle' value for the text-align property. There is a 'center' value.2. I suggest applying the text-align rule to the whole h1 element, not just the a element it contains.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...