【发布时间】:2012-12-24 14:13:10
【问题描述】:
嘿,我有个小问题,我已经设置好了
border: none;
border-width: 0px;
border-spacing: 0px;
border-collapse: collapse;
padding: 0px;
margin: 0px;
对于table,td和tr,但是tr节点之间还是有1px的边框。
HTML代码:
<table>
<tr>
<td>
<a href='url'> some text </a>
</td>
<td>
<a href='url'> some text </a>
</td>
</tr>
</table>
因为我已经设置了
display: block;
color: white;
font-size: 13px;
text-decoration: none;
height: 24px;
padding: 9px 19px 1px;
font-weight: 600;
text-align: center;
将填充更改为 0,不给出任何结果。
有什么解决办法吗?
浏览器:最后一个 chrome,firefox。
操作系统 MAC OS 10.8
【问题讨论】:
-
table是否指定了cellspacing?
标签: html border html-table