邊框不會在下面的代碼中刪除,即圖像精靈。我已經嘗試過使用樣式和邊框0去除邊框的一些方法,但沒有用。如何刪除圖像精靈中的邊框
<style>
img.home{width:40px;height:32px;
background:url(share.png) 0 0;
border-style: none;}
img.next{width:40px;
height:32px;background:url(share.png) -36px 0;
border-style:none;}
</style>
<a href="http://www.yahoo.com/">
<img class="home" border="0">
</a>
<img class="next" border="0"/>
你嘗試'邊界:none'? – 2012-07-09 01:41:08
雅http://jsfiddle.net/GB54f/1/ – PHP 2012-07-09 01:44:10