All major browsers except FF render images with invalid src attribute within it’s dimensions as specified by CSS or by width / height attributes. Only FF will render the alt attribute as it were text node, ignoring dimensions, which breaks layout in many cases.
Is there a way to force FF to render image within specified dimensions?
try to write
width:andheightattribute inimgtag itself or use!importantforwidthandheightin CSS