修改图片的src和表格的background
就行了

解决方案 »

  1.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head><body>
    <img src="http://expert.csdn.net/images/csdn.gif" onMouseOver="this.src='http://www.csdn.net/images/ad/vsnet_120.gif';tab.background='http://www.csdn.net/images/ad/vsnet_120.gif'"> 
    <table id=tab width="100" border="1" cellpadding="0" cellspacing="0" >
      <tr> 
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr> 
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr> 
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
    </body>
    </html>
      

  2.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <script language=javascript>
    function test()
    {
    img1.src='http://www.csdn.net/images/ad/vsnet_120.gif';
    if(tab.background=="")
    {
    tab.background='http://www.csdn.net/images/ad/vsnet_120.gif';
    }
    }
    </script>
    </head><body>
    <img id=img1 src="http://expert.csdn.net/images/csdn.gif" onMouseOver="test()"> 
    <table id=tab width="100" border="1" cellpadding="0" cellspacing="0" >
      <tr> 
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr> 
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr> 
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
    </body>
    </html>
      

  3.   

    用dreamweaver mx做把。很简单的。
      

  4.   

    下面这段代码一定行!!!<style>
    .class1{background-color:#666666; background-image:url('http://zhiin.jahee.com/images/logo1_1.gif'); background-repeat:no-repeat;}
    .class2{background-color:#166666; background-image:url('http://zhiin.jahee.com/images/logo1_2.gif'); background-repeat:no-repeat;}
    </style>
    <body>
    <table>
      <tr><td width=200 height=100 id=tdclass class=class1></td></tr>
    </table>
    <img src="http://zhiin.jahee.com/images/logo.gif" 
    onMouseOver="this.src='http://zhiin.jahee.com/images/logo2.gif'; tdclass.className='class2'" 
    onMouseOut="this.src='http://zhiin.jahee.com/images/logo.gif'; tdclass.className='class1' ">
    </body>