<style type="text/css">
.stats {
480px;
border-collapse:collapse; /* 表格相邻边合并*/
}
.stats td {
border: 1px #000 solid;
}
</style>
<body>
<table class="stats">
<tr>
<td colspan="7">These stats here are good</td>
</tr>
<tr>
<td>The thing</td>
<td>10.0</td>
<td>9.8</td>
<td>6.7</td>
<td>10.0</td>
<td>9.8</td>
<td>6.7</td>
</tr>
<tr>
<td>The thing</td>
<td>10.0</td>
<td>9.8</td>
<td>6.7</td>
<td>10.0</td>
<td>9.8</td>
<td>6.7</td>
</tr>
</table>
</body>
转自:http://www.cnblogs.com/meiqunfeng/archive/2009/03/17/1414224.html