table中的边框合并实例

<html>
<head>
<style type="text/css">
table,th,td{
border:1px solid blue;
border-collapse:collapse;
}
</style>
</head>

<body>
<table>
<tr>
<th>Firstname</th>
<th>Lastname</th>
</tr>
<tr>
<td>Bill</td>
<td>Gates</td>
</tr>
<tr>
<td>Steven</td>
<td>Jobs</td>
</tr>
</table>
</body>
</html>

原文地址:https://www.cnblogs.com/itjeff/p/3919553.html