Why does Microsoft insist on making life so hard for developers?
There are web standards, Microsoft, in case you missed the memo. Please adhere to them. It would do EVERYONE good.
Here's yet another hack to get IE to work in cases where min-height is used (according to my browsers, this still doesn't work in even IE8)
I found this solution
here, but will re-post because redundancy for solving IE crap through hacks is a very good thing... That is, until they pull their head out and realize that FIXING THE PROBLEM would be the very best solution. ...who am I kidding. That'll never happen.
Anyway.. Here's the hack.
If you use an underscore in front of normal CSS properties, IE will process them, but other browsers will not. In practice, this allows you to specify “alternate IE settings” for virtually any CSS property. This is known as the
Underscore Hack.
So, to set a minimum height, first use the actual property:
min-height: 300px
then use the underscore hack to set the height property.
_height: 300px
All browsers but IE will ignore the hacked property, and since IE effectively treats height as min-height, you’ll get the effect that you want in all browsers.
There ya go. Easy-schmeasy.