Forum Moderators: not2easy
The reason why you get the gap is because images, by default, rest on the baseline of adjacent text. Consider the following example:
test:)again:)blah:)pjgqy
See how the images are lined up with the text baseline? In your case, the baseline is still there, regardless of whether there is any text present or not. So, the "gap" you see is nothing more than the space reserved for the descenders on letters like p j g q y. To avoid this, simply alter the vertical alignment for your image:
vertical-align: bottom;