Min-Height Fast Hack

Posted by Rob CornishPostAugust 7, 2008Date

A genius IE6 min-height fix.

#selector {
  min-height:500px;
  height:auto !important;
  height:500px;
}

Source: Dustdindiaz

Reviewing this code, there's a simpler way of doing it. Here's the other way:

#selector {
  min-height:500px;
  _height:500px;
}

IE6 should read the _height property where as all other browsers will ignore.


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Tags
Flickr
DSC_0207DSC_0206DSC_0205DSC_0197
© 2008 dlnqnt - Admin - Login