Jump to content

Centering in IE7


ryan.od

Recommended Posts

OK, I am using the following technique for centering my page:

#container
{
  width:800px;
  margin:0px auto;
}

This has worked fine until I installed and tested it in IE7. Now, when I scale the text down, the page slides off to the left.

Anyone have any thoughts on this?

The page is www.finwebdesign.com

Thanks.

RyanOD
Link to comment
https://forums.phpfreaks.com/topic/28043-centering-in-ie7/
Share on other sites

Not sure what you mean there. I have IE7 installed and your site display fine when Window is maximixed (1280 x 1024) and when I reduce the width of the window until I cannot resize the window any smaller (100px or so) , Instead i get a horizontal scroll bar, which is the same behaviour I get with FF too.
Link to comment
https://forums.phpfreaks.com/topic/28043-centering-in-ie7/#findComment-128702
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.