View Full Version : min-height in ie6

Jan 28th, 2010, 10:00 AM
in my layout i need to use min-height and i noticed that ie6 does not support ie6, so for all browsers i have

float: left;
width: 915px;
min-height: 500px;
height: auto;

for ie6

* html #contentouter{
height: 500px;
overflow: visible;

by using min-height in all browsers the contentouter div always has a minimum height of 500px and whenever content exceeds 500px the contentouter div grows automatically in all browsers and also in ie6

is this the right way to use min-height in all browsers and in ie6 with the above code i have used

please advice.


Jan 28th, 2010, 12:41 PM
Yes, that’s right. height is treated in IE 6 like min-height in modern browsers.

Jan 28th, 2010, 10:38 PM