HTML Fix : IMG Tag Displays a Bottom Margin Space in Firefox

Written by Gordon

Topics: Web Design

For some strange reason, Firefox adds a little white space below images. This looks like a bottom margin, but isn’t really a margin space.

When reading through the internet I found a fix for this issue. Very simple!

Add the following to your css and the bottom margin / white space will be gone…

img {display: block;}

Original Source

Leave a Comment Here's Your Chance to Be Heard!