<table>
<tr onmouseover="this.bgColor='green'" onmouseout="this.bgColor=''">
<td>1</td><td>2</td><td>3</td>
</tr>
</table>
<tr onmouseover="this.bgColor='green'" onmouseout="this.bgColor=''">
<td>1</td><td>2</td><td>3</td>
</tr>
</table>
sub mouseover(x)
x.bgcolor="#DFF3F7"
end sub
sub mouseout(x)
x.bgcolor="#ffffff"
end sub
</script>
<table>
<tr onmouseover='javascript:mouseover(this)' onmouseout='javascript:mouseout(this)'>
<td>1</td><td>2</td><td>3</td>
</tr>
</table>
设置他的那个display:block;
然后cssa:hover就可以拉