February 2009

Make IE6 Understand min-height

Internet Explorer Icon

IE6 is the thorn in any standards aware web developers side. I've always been a bit frustrated by IE6's inability to understand min-height, but have usually just forced a height on the container for IE.

Looks like I gave up too soon because a quick search this morning revealed this gem. The only thing I did differently was include the default min-height in the main stylesheet and loaded in the other two lines using an IE6 only stylesheet.

Hopefully this knowledge will prove completely useless in a years time when IE6 drops off the map, but until then you can have your min-height and IE6 too.