Back CSS

CSS Min-Height Hack

WRITTEN BY ON 18 Apr 2011
14,628 VIEWS • SHARES
0 comments

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;

}
Join the discussion

Comments will be moderated and rel="nofollow" will be added to all links. You can wrap your coding with [code][/code] to make use of built-in syntax highlighter.