用CSS实现鼠标经过表格的时候背景变色

作者在 2006-05-30 12:59:00 发布以下内容
<style>
tr
{
sun:expression(onmouseover=function(){style.background="red"},onmouseout=function(){style.background=""})
}
</style>
<table border="1" width="80%">
<tr>
<td>我要变色</td>
<td>我要变色</td>
</tr>
</table>
WEB开发 | 阅读 3895 次
文章评论,共0条
游客请输入验证码
浏览2799393次
文章归档