只对table标签设置边框样式,将让此表格最外层table一个边框,而表格内部不产生边框样式。
解决办法: <div class="table-a"><table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="105">站名</td>
<td width="181">网址</td>
<td width="112">说明</td>
</tr>
<tr>
<td>DIVCSS5</td>
<td>www.divcss5.com</td>
<td>CSS学习</td>
</tr>
<tr>
<td>CSS5</td>
<td>www.css5.com.cn</td>
<td>CSS切图</td>
</tr>
</table>
</div>
<table width="200" cellspacing="0" cellpadding="0"><tr align="center">
<td style=" BORDER-bottom:#000000 1px solid BORDER-right: #000000 1px solid">细</td>
<td style=" BORDER-bottom:#000000 1px solid ">表</td>
</tr>
<tr align="center">
<td style=" BORDER-right:#000000 1px solid">线</td>
<td >格</td>
</tr>
</table>