是否有可用的HTML属性等效于CSS属性border-collapse: collapse;
?使用HTML属性border-collapse
我想实现与HTML仅相同的1px边框,而不是使用CSS。
table{
border-collapse: collapse;
}
<table border="1px" cellpadding="3">
<tr>
<td>Row 1</td>
<td>Row 1</td>
<td>Row 1</td>
</tr>
<tr>
<td>Row 2</td>
<td>Row 2</td>
<td>Row 2</td>
</tr>
</table>
因此,它是'cell-spacing'或'cellspacing'? – Justinas
@justinas错字,尽管谢谢。 – divy3993
不可能仅使用html制作完全1px的边框? –