문제

So I have GridView control and I would like to make a custom PagerStyle via css.

The problem is that I do not know how to change the style (color) of number indicating an active page. If I change the color property it changes a color of all page numbers. I would like to change color for active number and link numbers separately.

How to do this?

도움이 되었습니까?

해결책

Style should be like this:

.Pager a { color: #000000; text-decoration: none; }
.Pager hover { color: #AAFF00; text-decoration: none; } 
.Pager { color: #885454; text-decoration: none; background-color: #FFF7E7;}

다른 팁

I think you might be after:

myElement:active {color: f00;}

But I'm not sure..

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top