Gary versus the web
Blog

Quick coding tips: Minimum height in IE6

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;
}

2 Responses to “Quick coding tips: Minimum height in IE6”

  1. Paul KIrk has commented:

    Great tip – many thanks!

  2. web tasarımı has commented:

    thanks for sharing, i like your blog .. ;)

Leave a Reply