473,386 Members | 1,699 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,386 software developers and data experts.

LinkButton & Hyperlink

Not sure if this is the proper group to post this but its worth a shot:

Is there a project property setting that gives hyperlinks and linkButtons
the "rollover" effect with underlining?

Right now, it is somehow defaulted to an automatic underline which I only
want displayed when the user moves the pointer over the link.

Any help would be grealy appreciated.

Ken
Nov 18 '05 #1
3 4186
Use css for this since asp:hyperlink and the link button get rendered as
hyperlinks.
"Ken Saganowski" <ks*********@hillier.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Not sure if this is the proper group to post this but its worth a shot:

Is there a project property setting that gives hyperlinks and linkButtons
the "rollover" effect with underlining?

Right now, it is somehow defaulted to an automatic underline which I only
want displayed when the user moves the pointer over the link.

Any help would be grealy appreciated.

Ken

Nov 18 '05 #2
If you don't want the hyperlink to be underlined then add:
text-decoration:none to the style attribute for the control. This will
prevent the hyperlink from EVER having an underline though.

Having the underline only appear when the mouse passes over it is a function
of the setting in Windows and the browser, not the web page. If you set
text-decoration to none and have Windows set to only show the underline when
the mouse passes over it, you still won't see the underline.
"Ken Saganowski" <ks*********@hillier.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Not sure if this is the proper group to post this but its worth a shot:

Is there a project property setting that gives hyperlinks and linkButtons
the "rollover" effect with underlining?

Right now, it is somehow defaulted to an automatic underline which I only
want displayed when the user moves the pointer over the link.

Any help would be grealy appreciated.

Ken

Nov 18 '05 #3
you can use the hover property in your css style sheet for example

a.yourclassnamehere:hover {
text-decoration:underline;}

"Ken Saganowski" <ks*********@hillier.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Not sure if this is the proper group to post this but its worth a shot:

Is there a project property setting that gives hyperlinks and linkButtons
the "rollover" effect with underlining?

Right now, it is somehow defaulted to an automatic underline which I only
want displayed when the user moves the pointer over the link.

Any help would be grealy appreciated.

Ken

Nov 18 '05 #4

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

Similar topics

4
by: clintonG | last post by:
Any folklore regarding the benefits of using one or the other of these controls? <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT...
6
by: domtam | last post by:
First of all, my ASP.NET application has to support browser with Javascript disabled. In the application There is a control that looks like a text hyperlink, but the server-side has to do...
7
by: Arpan | last post by:
Both the Hyperlink web server control & the LinkButton web server control display text as links; so what are the differences between the 2 web server controls? Thanks, Arpan
13
by: rn5a | last post by:
In a shopping cart app, suppose a user has placed 5 orders, I want to show him 5 LinkButtons (one for each order) so that when he clicks the first LinkButton, he would be shown the details of his...
3
by: Ganesh | last post by:
Hi There, It should be easy question, but i don't know how to do. How to transfer to another website from my page. I tried with linkbutton and Hyperlink but i cannot figure out always it...
2
by: BobLaughland | last post by:
Hi There, I need a control on my site that is a hyperlink style control, but it must, 1) Have a property that can hold where the hyperlink is pointing to. (e.g. like the NavigateUrl property...
4
by: Jeff | last post by:
Hi, I have a ASP.NET 2.0 Web Application. Many of the pages use the ASP.NET GridView with paging and sorting. One of the columns of this Gridview is a template column (LinkButton). The data being...
4
by: Eric | last post by:
I have a linkbutton on a form that executes a script, it works fine except that it posts back to the calling form first. Is there a way to prevent this? I tried setting the PostBackURL property...
1
by: k lee | last post by:
I want to create a linkButton to activate my hyperlink which will open a new page in a new window. I would like to know how to code the code of activate the hyperlink which I wish to place it in the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.