Min-height in IE

Submitted by:Andery Smith

Date added:15 March, 2011

Category:CSS

This comes down to fixing a simple, yet annoying bug in IE’s capability of handling min-height. In essence, IE interprets height as min-height, so since IE wont implement the auto height, this snippet will fix all this for us.

Tags: handling min-height , ie interprets height

Code Snippet:

1	.box {
2 min-height:500px;
3 height:auto !important;
4 height:500px;
5 }
 
 

Comments