<html>
<head>
<title>鼠标经过时改变一列表格的颜色</title>
</head>
<body>
<table width="240" border="1">
<tr onMouseOver="this.style.background='#0066FF'"
onMouseOut="this.style.background=''">
<td>A</td><td>B</td></tr>
<tr onMouseOver="this.style.background='#0066FF'"
onMouseOut="this.style.background=''">
<td>C</td><td>D</td></tr>
<tr onMouseOver="this.style.background='#0066FF'"
onMouseOut="this.style.background=''">
<td>E</td><td>F</td></tr>
</table>
</body>
</html><br /><center>如不能显示效果,请按Ctrl+F5刷新本页,更多网页代码:<a href='http://www.veryhuo.com/' target='_blank'>http://www.veryhuo.com/</a></center>
文章源自:烈火网,原文:http://www.veryhuo.com/a/view/28771.html