嗨我想让我的桌子边框透明。代码是
<table style="border-collapse: collapse;border-style:hidden;">
<tr><td><a href="austria.html"><img src="images/as.jpg"></a></td>
<td><a href="france.html"><img src="images/as.jpg"></a></td>
<td><a href="germany.html"><img src="images/as.jpg"></a><br></td></tr>
<tr><td><a href="hongkong.html"><img src="images/as.jpg"></a>
<td><a href="italy.html"><img src="images/as.jpg"></a>
<td><a href="netherlands.html"><img src="images/as.jpg"></a></tr>
<tr><td><a href="prague.html"><img src="images/as.jpg"></a>
<td><a href="southkorea.html"><img src="images/as.jpg"></a>
<td><a href="sweden.html"><img src="images/as.jpg"></a></tr>
<tr><td><a href="uk.html"><img src="images/as.jpg"></a>
<td><a href="us.html"><img src="images/as.jpg"></a></tr></table>
答案 0 :(得分:4)
试试这个:
<table style="border: 1px solid transparent">
...
</table>
答案 1 :(得分:1)
在表格标签中使用以下CSS
table {
border-collapse: separate;
border-spacing: 1em 2px; // horizontally: 2px, vertically 1em
}