magilla loves you

Full browser width div in IE

Posted in HTML / CSS by shanDB on July 28, 2009

To create a div the full width of the browser – and have it working in properly IE:

html, body {
width: 100%;
margin: 0;
}

#myDiv {
min-width: 100%;
}

Leave a Reply