<p>实现鼠标经过改变背景颜色的方法很多这里主要是学习CSS中enevt的应用 </p><p><style type="text/css"> </p><p>#ordered{width:598px;background:#a5a5a5;text-align:center;} </p><p>#ordered th{ background-color:#d8e4c6;height:30px;line-height:30px;color:#404040;font-weight: bold; } </p><p>#ordered tr{background-color:#fff;cursor:pointer; event:expression(onmouseover = function(){this.style.backgroundColor='#fffbe8'},onmouseout = function(){this.style.backgroundColor='#FFFFFF'}); }</p><p> #ordered td{height:25px;line-hei