Disabling underline in hyperlinks

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI

I want to disable the underline of a hyperlink text in a hyperlink column of
datagrid/gridview in the content page.
If I am writing a css class to disable it in the master page then its
disabling
the underline for all the hyperlinks in the page.

The datagrid/gridview is placed in a html table.

How can I achieve this ?
 
Hello Kumar.A.P.P,

Create either the templated column, where create the hyperlinks manually
and set the desired CSS class,
or view the source code of the generated page to find out which CSS is applied.

Btw, afaik u can set desired CSS class for each column. Check the grid properties

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


K> HI
K>
K> I want to disable the underline of a hyperlink text in a hyperlink
K> column of
K> datagrid/gridview in the content page.
K> If I am writing a css class to disable it in the master page then its
K> disabling
K> the underline for all the hyperlinks in the page.
K> The datagrid/gridview is placed in a html table.
K>
K> How can I achieve this ?
K>
 
The CSS rule you defined likely applies to all the links. Double check your
class name. Using view source would be likely a good start...

What is the CSS rule you used ?
 
Back
Top