<style>
table
{
border-collapse:collapse;
border:1px solid black
}
td
{
height:30px;
border:1px solid black
}
</style>
<table width="600" cellpadding="0" cellspacing="0" border="1" >
<tr style="background:#C2DFF1;text-align:center">
<td colspan="3"><b>会变色的表格</b></td>
</tr>
<tr onmouseover="this.bgColor='#C2DFF1'" onmouseout="this.bgColor='#ffffff'">
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr onmouseover="this.bgColor='#C2DFF1'" onmouseout="this.bgColor='#ffffff'">
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr onmouseover="this.bgColor='#C2DFF1'" onmouseout="this.bgColor='#ffffff'">
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
|