是否有可用的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的邊框? –