辐射之城是单机游戏吗?:怎样实现鼠标经过改变表格背景图像而不是颜色??
来源:百度文库 编辑:神马品牌网 时间:2024/05/04 12:51:14
怎样实现鼠标经过改变表格背景图像而不是颜色??使用css
<table border="1">
<tr>
<td style="background-image:url('1.jpg');width:300;height:300;" onmouseover="this.style.backgroundImage='url(2.jpg)'" onmouseout="this.style.backgroundImage='url(1.jpg)'"></td>
</tr>
</table>