attila2452 Posted June 9, 2011 Share Posted June 9, 2011 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 More sharing options...
jeffman Posted June 9, 2011 Share Posted June 9, 2011 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.