Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
how can I css select the current page of the webgrid without using app stylist ?
posted

Hi !

I want to change the webgrid paging layout using just CSS.

But webgrid renders the pager like this :

 

<td> 1
<a href> 2 </a>
<a href> 3 </a>
<a href> N </a>
</td>

This way I can't css select only that  " 1 " from the paging code, applying css to the TD causes unwanted side effects. Is there a way, without using app stylist - just with CSS and some codebehind or anything,  to make the webgrid renders the current page with any holding tag ????  Like this :

<td> <span> 1 </span>
...
</td>

 

thanks

[]s