我希望我的表格的外邊框是虛線,而內邊框是固定的。所以我爲我的normal-table
製作了這些css代碼,但是整個表格邊界都很牢固。如何使用css正確格式化表格
.zulu-post .zulu-content .normal-table{
color: #444444;
border: 1px dashed #444444;
}
.zulu-post .zulu-content .normal-table td, .normal-table tr{
padding: 10px;
border: 1px solid #444444;
}
<table border="1" cellpadding="1" cellspacing="1" class="normal-table" style="width:500px;">
<tbody>
<tr>
<td>Table Name</td>
</tr>
<tr>
<td>Make sure that Stylesheet Classes is normal-table</td>
</tr>
<tr>
<td>Text Here...</td>
</tr>
</tbody>
</table>
是否有可能增加您的相關HTML代碼以及好嗎? –
@kevinb。完 – user253938