473,789 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2893
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******@discu ssions.microsof t.coma écrit dans le message
de news: BB************* *************** **...icrosof t.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
1963
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) However, I intend to actually have two separate keys invoke this menu to have it behave differently in different circumstances. Is it possible to underline more than a single character as I am doing with the 'underline=0' above. I tried...
2
6027
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
49065
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 are not underlined when the page loads, when the user moves the mouse over it's underlined, mouse out no underline. i tried: <a href="#section14" class="drkblue08bold" style="text-decoration:none"> but that left the underline gone forever,...
3
3044
by: | last post by:
Is there a way to REMOVE the underline within the HyperLink button? Thanks Brian
2
7928
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 StringBuilder.AppendFormat() would provide this capability, but I can't find documentation on the proper format specifier to underline a string ... if this is possible, could someone please provide an example? thanks.
1
4004
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
7308
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 System.Web.UI.WebControls.HyperLink This is my CSS (which I use to set font size and remove the underline, but when mouse are hovering I want the link to display a underline):
3
3825
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
8525
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 is line or no line. Any help? Thanks.
0
9663
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10404
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10195
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9016
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6765
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5415
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2906
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.