<td onmouseover="this.className='h1'" onmouseout="this.className=''">

解决方案 »

  1.   

    <script language="javascript">
    function onColor_menu(blah,mycolor) {
      blah.style.backgroundColor=mycolor;
    }function offColor_menu(blah,mycolor) {
      blah.style.backgroundColor=mycolor;
    }
    </script>
    <td color="dddddd" onmouseover="onColor_menu(this, 'f8f8f8');" onmouseout="onColor_menu(this, 'dddddd')"></rd>
      

  2.   

    <tr bgcolor="#999999">
        <td height="28">&nbsp;</td>
        <td valign="top" onMouseMove="javascript: this.style.background='yellow';"><!--DWLayoutEmptyCell-->&nbsp;</td>
      </tr>
      

  3.   

    <td color="dddddd" onmouseover="this.bgColor='#000000';" onmouseout="this.bgColor='#EEEEEE';">
      

  4.   

    http://community.csdn.net/Expert/topic/3377/3377671.xml?temp=.9600336这个贴子能给你答案