473,408 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Disabling underline in hyperlinks

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 ?
--
Kumar.A.P.P
Software Engineer, Infosys Technologies Limited.
http://geekwithblog.WordPress.com
Oct 4 '07 #1
2 2862
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
KHI
K>
KI want to disable the underline of a hyperlink text in a hyperlink
Kcolumn of
Kdatagrid/gridview in the content page.
KIf I am writing a css class to disable it in the master page then its
Kdisabling
Kthe underline for all the hyperlinks in the page.
KThe datagrid/gridview is placed in a html table.
K>
KHow can I achieve this ?
K>
Oct 4 '07 #2
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 ?

"Kumar.A.P.P" <Ku******@discussions.microsoft.coma écrit dans le message
de news: BB**********************************@microsoft.com...
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 ?
--
Kumar.A.P.P
Software Engineer, Infosys Technologies Limited.
http://geekwithblog.WordPress.com

Oct 4 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tim Daneliuk | last post by:
I am currently underling the first character of a menu title (to indicate its shortcut/accelerator key) like this: self.WildBtn = Menubutton(self.mBar, text=WILDMENU, underline=0, state=DISABLED)...
2
by: Ed | last post by:
Don't even know if this is a javascrip thing...but how do I remove the underline from hyperlinks?
29
by: jmaxsherkimer | last post by:
the site we're working on has some anchor links, you click them they scroll to the bottom of the page with the answers to the questions linked on to. is there anyway to make it so that the links...
3
by: | last post by:
Is there a way to REMOVE the underline within the HyperLink button? Thanks Brian
2
by: John A Grandy | last post by:
when using StringBuilder to build-up a block of text (which is then assigned to a Label control) is it possible to underline a portion of the text ? it would seem that...
1
by: mazdotnet | last post by:
Hi, I'm using the asp:TreeView component of asp.net 2.0 and my tree is structure is Root -- Parent 1 --------- Leaf 1 --------- Leaf 2
2
by: Jeff | last post by:
hey asp.net 2.0 I have a HyperLink control on my webpage, I want this HyperLink to display a underline when mouse is hovering over it. This is NOT a html link, but a...
3
by: shapper | last post by:
Hello, How to make the underline of a link to be a dotted line like in this web site: http://www.iconbuffet.com/ Thanks, Miguel
4
by: Mr. Newt | last post by:
Hi y'all, I'm looking to put an underline under some links but not under others. I still want an underline when the link is hovered over. I've dabbled with classes for this, but all I can get...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.