Samuel Page Digital Playground & Blog

7Mar/100
min-height-hack-for-internet-explorer-6

Min-Height hack for Internet Explorer 6

Posted by Samuel Page

Setting min-height in CSS is great until you cross browser check and surprise surprise, IE6 doesn't like it.

Here's a really neat quick hack to overcome the problem:

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

Full credit goes to this site http://www.dustindiaz.com/min-height-fast-hack/

About Samuel Page

Sam Page, co-founder and director at 7dots Digital Consultancy.
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.