Posts Tagged ‘DIV Center Align in IE6’

IE6 Auto-width Margins Problem fixed

Many of developers faced the Auto width Margin (margin:0 auto;) problem in IE6 browsers to make the content div center aligned irrespective of browser window.
Here is the solution.
Modify the CSS accordingly:

body {
margin:50px 0px; padding:0px;
/* Need to set body margin and padding to get
[...]

Posted in CSS Hacks, Tutorials , Tagged with , , On May 1, 2009, 0 Comments.