看来我的<span>
标签会在我的<td>
. 你通常如何解决这个问题?
<tr>
<td> date</td> <!--date-->
<td> <span class="icon1"> <img here> </span> | <span class="icon2"> <img here> </span> </td> <!--action-->
</tr>
[更新=添加CSS]
.icon1{
width:22px;
height:22px;
background-color:#eb2960;
display:block;
border-radius:4px;
cursor: pointer; cursor: hand;
}