不用onmouseover使表格变色
来源:百度知道 编辑:UC知道 时间:2024/05/31 19:13:28
如题
要现成的话到这里看看:
http://www.noupe.com/css/21-fresh-ajax-css-tables.html
或者:在css中参考用这个:
tr:hover {background:#FFFFCC;}/*对付FF*/
tr{star : expression(
onmouseover=function(){this.style.background="#FFFFCC";},
onmouseout=function(){this.style.background="#FFFFFF"})}/*对付IE*/