Forum Moderators: open

Message Too Old, No Replies

Why is IE 5.0 not centering my page?

         

morena84

10:17 am on Oct 20, 2008 (gmt 0)

10+ Year Member



Hi guys, I wonder if you can help me.

I am testing my page and I get a centered page in all browsers but IE 5.0 and 5.5 where the page is totally aligned at left.

I suspect there is something wrong in one of these three lines:

* { margin: 0; padding: 0; line-height: 1.5; color: #727272; font-style: normal; font-weight: normal; }
body {font: normal 12px Arial, Helvetica, sans-serif; background: #555; border-top: none; }
#wrap { background: #fff; margin: 1.5em auto 1.5em auto; width: 960px; position: relative; }

Hope somebody can help me

Thank you

Morena

essiw

1:19 pm on Oct 20, 2008 (gmt 0)

10+ Year Member



or maybe IE 5 and IE 5,5 don't support it?

morena84

8:07 am on Oct 21, 2008 (gmt 0)

10+ Year Member



right!

dreamcatcher

9:08 am on Oct 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try adding 'text-align: center' to the body tag.

dc