I'm using <img>
with background-image
property to show images throughout my application. This worked fine till week in all browsers. In Chrome 45, it now shows a white border around all images. I found that this issue happens only when you try to load image URL using background-image
property.
Here the code sample showing the problem in Chrome 45
<div style="background:grey; padding: 50px;">
<img style="background-image:url('https://vcc.attendanywhere.com/v3/images/join_call.png'); border: none;" width="46" height="29" border="0">
<br/><br/><br/>
<img src="https://vcc.attendanywhere.com/v3/images/join_call.png" width="46" height="29" border="0">
</div>
You'll notice the first image has got white border as follows. How can I get rid of this border?