利用CSS边框合并属性打造table细边框

CSS代码:

<style>
table{
     border-collapse: collapse;/* 边框合并属性  */
	 200px;
}
th{
     border: 1px solid #666666;
}
td{
     border: 1px solid #666666;
}
</style>
HTML代码:

<table>

<tr>
<th></th>

<th></th>
	</tr>
	<tr>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td></td>
		<td></td>
	</tr>
</table>
原文地址:https://www.cnblogs.com/sunny-539/p/4057249.html