我有一张桌子:
<table border="0" class="box">
<tr height="25%" class="tableHead">
<td align="center">Title</td>
</tr>
<tr height="25%">
<td>test</td>
</tr>
<tr height="25%">
<td>test</td>
</tr>
<tr height="25%">
<td>test</td>
</tr>
</table>
CSS为:
.box{
background:#FFFFFF;
border:5px solid #427BD6;
border-radius:8px;
}
.tableHead{
background:#427BD6;
color:#FFFFFF;
border-style:solid;
border-width: 1px;
border-color: #427BD6;
font-weight:bold;
}
我想删除标题 tr 和表格边框之间的空白或更改其颜色。提前致谢。