似乎我的<span>标签在我的内部导致新的换行符<td>.你通常怎么解决这个问题?
<tr>
<td> date</td> <!--date-->
<td> <span class="icon1"> <img here> </span> | <span class="icon2"> <img here> </span> </td> <!--action-->
</tr>
Run Code Online (Sandbox Code Playgroud)

[update = added css]
.icon1{
width:22px;
height:22px;
background-color:#eb2960;
display:block;
border-radius:4px;
cursor: pointer; cursor: hand;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5551 次 |
| 最近记录: |