使用以下代码,我在 IE7 到 IE9 中的背景图像周围有一个边框。为什么?
<tr>
<td class="wishes">
<a class="clickable">
<img class="alreadyWished" border="0" width="19" height="16"
alt="Already Wished"/><br />
Already Wished
</a>
</td>
</tr>
<style>
.clickable
{
outline:none;
cursor:pointer;
border:none;
}
.wish
{
background-image:url(../images/wished.jpg);
background-repeat:no-repeat;
border:none;
outline:none;
}
.alreadyWished
{
background-image:url(../images/alreadyWished.jpg);
background-repeat:no-repeat;
border:none;
outline:none;
}
</style>