Posted By

justinseiter on 04/26/09


Tagged

css ie minheight


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

jmacgr
dmatranga
jfherring
delarge


Min-Height Fast Hack


 / Published in: CSS
 

URL: http://csswizardry.com/web-design+/

Courtesy of Dustin Diaz comes the Min-Height Fast Hack — a way of getting round IEs lack of support for the min-height declaration.

This takes advantage of IE also lacking support for the !important CSS.

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

Report this snippet  

You need to login to post a comment.