The Praetorian Posted May 18, 2006 Share Posted May 18, 2006 http://www.freewebs.com/the_praetorian/welcome.htmlRight. The problem I'm having is that IE seems to be ignoring my margin commands. It looks fine on every other browser, but on IE the paragraphs appear all the way at the left of the screen instead of in the middle where they should be.I'm using a blocktext command to get the margins the way I want them. The weird thing is that IE seems to read the margin command in the case of my hr's, but not for the rest of the page.<p class="blocktext">blah blah</p> ---- and in the CSS ----- p.blocktext{margin-right:auto;margin-left:auto;width:18cm;} Link to comment Share on other sites More sharing options...
Jonas Posted May 18, 2006 Share Posted May 18, 2006 CSS body {text-align: center;}p.blocktext {margin: 0 auto;text-align: left;width: 18px;} That should work. Link to comment Share on other sites More sharing options...
The Praetorian Posted May 18, 2006 Author Share Posted May 18, 2006 Thank you! That worked great. Awesome. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now