Both pages look identical in Firefox, and so they should. The way to get rid of that gap is to add this to the CSS:
By default, images align with the baseline of the text they sit next to—which means the descenders of the text hang down below the image. Here you have no text beside the image, but still the gap is there. So vertical-align: bottom just tells the image not to leave that gap at the bottom.