为什么MouseOver属性在<TR>标签中无效? backgroundColor 有这样的吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 但是这段代码插入<TD>标签中是好用的! style写错了,写成onMouseOver="this.style.background='#000000';"就ok了-------------------------------<tr width="550" height="20" bgcolor=#ffffff onMouseOver="this.style.background='#000000';" onMouseOut="this.style.backgroundColor=''; this.style.cursor='hand';"> <td>......</td> <td>......</td> <td>......</td></tr> 楼主我试验了你的代码可以正常使用啊,不过table标签不全不行------------------------------<table><tr width="550" height="20" bgcolor=#ffffff onMouseOver=this.style.backgroundColor='#FAFBFC'; onMouseOut=this.style.backgroundColor=''; this.style.cursor='hand';> <td>......</td> <td>......</td> <td>......</td> </tr></table> 1。应该是style.bgcolor2。对table是否有css,是否和css冲突了 onmouseover="this.style.backgroundColor='red'这样肯定是可以的,要不就是你的页面中对所有的<TR>标签定义了css效果 还是不行(PS:将事件置于td内可以,但是在tr中就是不行)<td>中设置了css,但是在<tr>中没有,盼高手请教!!! 用javascript设置表格中行的位置 关于窗口特效的JS代码 表单名称为特殊字符如何操作 怎样用JavaScript实现下拉菜单 onmousedown显示textarea的问题???? javascript 打开,关闭输入法怎么处理? 请问谁有这样的js焦点图吗?见下面网址 为什么1.1*100=110.00000000000001 ? 大家好上传后的数据库连接问题 求助!foreach循环用在HTML中,请高手协助! 请高手出招~ ·用JS判断用户输入的日期大于当天日期,该怎么写呢?
<tr width="550" height="20" bgcolor=#ffffff onMouseOver="this.style.background='#000000';" onMouseOut="this.style.backgroundColor=''; this.style.cursor='hand';">
<td>......</td>
<td>......</td>
<td>......</td>
</tr>
------------------------------
<table>
<tr width="550" height="20" bgcolor=#ffffff onMouseOver=this.style.backgroundColor='#FAFBFC'; onMouseOut=this.style.backgroundColor=''; this.style.cursor='hand';>
<td>......</td>
<td>......</td>
<td>......</td>
</tr>
</table>
2。对table是否有css,是否和css冲突了