开发者

ASP.NET Gridview - How do I change the color properties vertically?

开发者 https://www.devze.com 2023-02-18 21:03 出处:网络
I have a dynamic gridview, about 35 rows by 11 columns. When the user hovers over a row, I highlight the row\'s background in green (with CSS:Hover).

I have a dynamic gridview, about 35 rows by 11 columns. When the user hovers over a row, I highlight the row's background in green (with CSS:Hover).

I would like to chang开发者_StackOverflow社区e the column's background as well, but I don't think I can assign css to a entire column. How can I accomplish this?


this is how is done, step-by-step: http://css-tricks.com/row-and-column-highlighting/

0

精彩评论

暂无评论...
验证码 换一张
取 消