开发者

Site won't center align in IE6

My site won't center align in IE6 for some reason. I cant understand why I'm sure I've done everything right but obviously not. The site is:

http://dreamdeals.rnmtest.c开发者_如何学Pythono.uk/


Your special offers container is overflowing in ie6. Try removing that container and see if it will center than. Otherwise try to fix it using overflow:hidden on the mentioned container.

Also the icons are showing the whole sprite you use.


Here's an old trick to centre your site in IE6.

Set text-align: center; in the body. Remember to reset your main (wrapper/container) div with text-align: left;

The other (good) browsers should be handled by setting auto margins left and right.

Example:

body { width: 900px; margin: 0 auto; text-align: center; /* for IE6 */ }
#container { text-align: left; }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜