Code Snippet > CSS

CSS Min-Height Hack

Internet explorer does't support min-height, but this CSS method will allow it.

CSS

Simply apply the following height setting to any of you element that you want to have the min-height.

selector {

  min-height:500px;
  height:auto !important;
  height:500px;

}

Source: http://www.dustindiaz.com/min-height-fast-hack/



Show Some Love, Spread This Post!

0 comments

Leave a comment

Have something to say? Drop a comment! No HTML tags are allowed in the comment textfield.

Advertisement