Samuel Page Digital Playground & Blog

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;
}

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.