Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

Drew4884

macrumors newbie
Original poster
Apr 17, 2006
17
0
I have gone through all the steps for IE to center the page, but for some reason it keeps pressing it to the left side. Can someone please take a look at the codes and let me know if they have any input on it? I am baffeled????

http://www.nocca.com/dev/nocca/indexinclude.php

Thank you so much in advance!
 

radiantm3

macrumors 65816
Oct 16, 2005
1,022
0
San Jose, CA
Set the body style to
Code:
text-align: center;
Set the div you are trying to center as
Code:
text-align: left;
margin: 0 auto;
 

Drew4884

macrumors newbie
Original poster
Apr 17, 2006
17
0
Set the body style to
Code:
text-align: center;
Set the div you are trying to center as
Code:
text-align: left;
margin: 0 auto;

Hey...thank you - but thats exactly what i have ? Its still not quite working...any other ideas?
 

Matteh117

macrumors regular
May 24, 2007
202
0
Surrey, UK
Isn't the margin:auto bit supposed to be in the body part?

Margin is on the outside, padding on the inside. If you put margin on the body then it will push everything in because it has nowhere to go (same effect as a padding on the body).. that's why it solved the problem. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.