Reputation: 469
Firefox is adding a white border on the inside of my image (.png), but no other browsers is, and the border
property in CSS is actually 0. It's the image itself that is being rendered with a white border... Any way to remove this?
Upvotes: 0
Views: 515
Reputation: 1
I had the same issue. I wanted a 110x90px image and for that I was using a 560x460px image
with these css rules
.my-image
{
display: inline-block;
width: 110px;
height: 90px;
}
Turns out when i tried to use the same image but with the right dimensions it worked. White border was left on firefox.
Upvotes: 0