html - How to remove border arround image -


so have problem. i'm using sprites first time , around them appear border, tried set border:none didn't work. demo

<div class="service"> <img href="image/icons.png" style="background-image:url('image/icons.png'); background-position:0 0; height:59px; width:59px; border:none"/> </div>  .service { position:relative; float:left; clear:left; border:none; } 

html:

<div class="service">     <img href="image/icons.png" style="background-image:url('image/icons.png'); background-position:0 0; height:59px; width:59px; border:none"/> </div> 

css:

.service {     position:relative;     float:left;     clear:left;     border:0; } 

Comments

Popular posts from this blog

rest - Spring boot: Request method 'PUT' not supported -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

symfony - imagine_filter() not generating the correct url in LiipImagineBundle -