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/

Tagged as: , , No Comments
7Mar/100
how-to-remove-image-paddingmargins-in-internet-explorer-6-ie6

How to remove image padding/margins in Internet Explorer 6 (IE6)

Posted by Samuel Page

IE6 handly adds margin around images - painful when you're working to precise sizes.

However there's a simple fix, use the following CSS in your IE6 stylesheet:

img {
display:block;
}