为什么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经典书籍 jquery,ext,mootool等流行框架的选择器性能比较 一个js脚本问题。看上去简单,但是找不出原因。 关于闭包的问题?????? 火狐alert后才正常显示 ??? 复选框控制显示的问题! 左侧无限分级弹出菜单的问题,哪位帮忙看看 这个图像效果为什么在我的机器上运行不起来? JQuery ui .tabs() 的疑问 js插件使用报错 请高手出招~ ·用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冲突了