谢谢了
<table border="1" width="300px">
<tr>
<td height="30" onmouseover="this.style.backgroundColor='#FF0000'"
onmouseout="this.style.backgroundColor=''" >
abc
</td>
</tr>
<tr>
<td height="30" onmouseover="this.style.backgroundColor='#FFFF00'"
onmouseout="this.style.backgroundColor=''">
abcd
</td>
</tr>
<tr>
<td height="30" onmouseover="this.style.backgroundColor='#FF00FF'"
onmouseout="this.style.backgroundColor=''">
abcde
</td>
</tr>
</table>
[/CODE]<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<table border="1" width="135" >
<tr><td width="125" height="30" onmouseover="this.style.backgroundColor='#FF0000'" onmouseout="this.style.backgroundColor=''" >
<a href="http://baidu.com" target="_blank" style="color:" onclick="this.style.backgroundColor='#FF0000'" >abc</a></td>
</tr>
<tr><td height="30" onmouseover="this.style.backgroundColor='#FFFF00'" onmouseout="this.style.backgroundColor=''">
<a href="http://baidu.com" target="_blank" style="color:" onclick="this.style.backgroundColor='#FF0000'">abcd</a></td>
</tr>
<tr><td height="30" onmouseover="this.style.backgroundColor='#FF00FF'" onmouseout="this.style.backgroundColor=''">
<a href="http://baidu.com" target="_blank" style="color:" onclick="this.style.backgroundColor='#FF0000'" >abcde </a></td>
</tr></table>
</body>
</html>
这样的?
[此贴子已经被作者于2006-10-7 0:16:29编辑过]