3.4 IE Min Height Bug

Setting minimum heights for containers can be a useful and often necessary act. For example you may a website with pages of differing amounts of content. On pages with lesser content you may still wish the page to be a certain minimum height. Unfortunately, IE6 does not support the min-height property and so will completely ignore it.

Fixes

Luckily (and it is just pure luck) IE6's height property acts in exactly the same way as min-height, meaning the workaround is simple. To get IE6 to read height and other browers to read min-height, we can use the underscore hack and add _height:100%; to the code. All browers bar IE ignore code after an underscore.

#container	{min-height:100%;
		_height: 100%;}