Remove the natural padding from images (img) with CSS
by Glyn Mooney
Time for another CSS quick tip! I see this question crop up a lot over at stackoverflow, and it’s to do with the natural padding associated with the <img> tag. If you don’t use a good CSS reset you’ll notice that all your images have a four pixel padding at the bottom of them. This is how to remove it:
img { vertical-align: top /* can be baseline */ }
Hope this helps!