|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
表格的css的問題
表格內有文字作鏈接,希望鼠標移到文字上時,表格的背景圖像變換,要怎麼辦呢?怎麼寫這個css以及調用? 希望大蝦給些指點啊 |
<style type=text/css>
<!--
a:link{color:black;text-decoration:none}
a:hover{color:black;text-decoration:none;}
-->
</style>
</head
>
<body>
<table border="1">
<tr>
<td><a href="http://www.hongen.com" onmouseover="this.style.backgroundImage='url([img]http://www.hongen.com/pc/homepage/css/img/css0441.gif[/img])'" onmouseout="this.style.backgroundImage=''">洪恩電腦樂園</a></td>
</tr>
</table>
</body> |
|