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?
You should change the DOM element representation
img{
display:block;
}
or
img{
display:inline-block;
}
or
img{
float:left;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With