试一试:
<tr onmouseover="this.style.background = '#f2f2f2';" onmouseout=onmouseover="this.style.background = '#000000';" >………</tr>

解决方案 »

  1.   

    应该改写成下面这样:
    注意在css中引用名称有点奇怪的。
    <tr onmouseover="this.style.backgroundColor = '#f2f2f2';" onmouseout=onmouseover="this.style.backgroundColor = '#000000';" >………</tr>
      

  2.   

    <tr onmouseover="this.style.backgroundColor = '#f2f2f2';" onmouseout="this.style.backgroundColor = '';" >………</tr>
      

  3.   


    只需要人民币20元,你就可以获得本灌水机的程序和Visual C++源代码,并获得永久性技术支持。还等什么?灌水等着你!就在今夜!元宵佳节!