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
Post a Comment