您的位置:首页 > Web前端 > CSS

how can i change the back color on mouse out to the color specified in gridview

2007-03-27 13:51 711 查看
http://www.thescripts.com/forum/thread614321.html

Quote:

Originally Posted by
how can i change the back color on mouse out to the color specified in
the grid view declaration
>

you can do it using css

..row1
{
background: #CECECE;
}
..row2
{
background: #DEDEDE;
}
..row1:hover, .row2:hover
{
cursor: pointer;
background-color: orange;
}

so, in this case your grid coding should be

<RowStyle CssClass="row1"></RowStyle>
<AlternatingRowStyle CssClass="row2"></AlternatingRowStyle>
http://forums.asp.net/thread/1638409.aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  css