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

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -