例:
<div id="row" style="width:200px;height:25px" onmouseover='this.style.background-color=red'>
<div style="float:left;height:25px;width:50px"></div>
<divstyle="float:left;height:25px;width:50px"></div>
<divstyle="float:left;height:25px;width:50px"></div>
</div>想用div制作表格,如果让鼠标移到行上,背景就变色,好象这样不行呢!
哪些有经验之兄曾今做过的!
在此请教!谢谢....
<div id="row" style="width:200px;height:25px" onmouseover='this.style.background-color=red'>
<div style="float:left;height:25px;width:50px"></div>
<divstyle="float:left;height:25px;width:50px"></div>
<divstyle="float:left;height:25px;width:50px"></div>
</div>想用div制作表格,如果让鼠标移到行上,背景就变色,好象这样不行呢!
哪些有经验之兄曾今做过的!
在此请教!谢谢....
解决方案 »
- TextBox1_TextChanged事件
- openFileDialog取得文件名的问题
- 哪位大哥知道哪有可用的schedule(日程)控件啊最好带上源码,平台是VS2005的!
- 数据库里的NULL空值在DataGrid中怎么显示的
- 急得要命!!!!
- 如何对数据进行加密存储呢?希望给个例子
- 谁有贷款的计算公式啊,包括房贷。车贷等等的
- .net 与 Excel
- OleDbDataReader分页为什么这么慢啊 大家帮忙!
- (UP了就给分)DataGrid 加入Template Column 如单选按钮
- 怎样为asp.net控件 添加扩展程序
- asp.net gridview列问题(vs2008 c#)
http://hi.baidu.com/wsbpx/blog/item/7722b7ef779a5015fcfa3c0d.html
但是这样是不行的.
<div id="row" style="width:200px;height:25px"
onmouseleave="this.style.backgroundColor='white'"
onmouseover="this.style.backgroundColor='red'">
<div style="float:left;height:25px;width:50px"> sdf</div>
<div style="float:left;height:25px;width:50px"> sdf</div>
<div style="float:left;height:25px;width:50px"> sdf</div>
</div>
<div onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='#FFFFFF'" >a</div>
<div onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='#FFFFFF'">b</div>
<div onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='#FFFFFF'">c</div>
</div >
<div style="float:left;height:25px;width:50px"> </div>
<divstyle="float:left;height:25px;width:50px"> </div>
<divstyle="float:left;height:25px;width:50px"> </div>
</div>