Gary versus the web
Blog

Quick coding tips: Minimum height in IE6

June 20th, 2010

As you may be aware the CSS property min-height unfortunately doesn’t work in IE6, however if you add the following hack after the attribute:

height:auto !important;
height: (the min height value);

You’ll be able to get it to work, an example would be:

.classname {
min-height:200px;
height:auto !important;
height:200px;
}

Posted in Coding | 2 Comments »