onmouseover: expression(οnmοuseοver=function (){this.style.borderColor =''; this.style.color='';this.style.backgroundColor ='#99E2FB'}); onmouseout: expression(οnmοuseοut=function (){this.style.borderColor=''; this.style.color='';this.style.backgroundColor =''}); background-color:#00BFFF;
简单实用,这样在你更换样式的时候就不必再动程序页面,一个CSS搞掂
<style type="text/css"> .JsInCss{ event:expression( onmouseover = function() { this.style.backgroundColor='#f0f0f0' sotuku.style.display='' }, onmouseout = function() { this.style.backgroundColor='#ffffff' sotuku.style.display='none' } ) } </style>