simple hyperlink problem...

D

Doug Swanson

So I've added a hyperlink to a screen based on a url stored in a database.
The problem is that the hyperlink text is not underlined....but it becomes
underlined when you hover over it. Small thing but it's what the users
want... The screen/window that it is on is a popup window if that makes any
difference....btw I'm using a literal and emitting the html code on the
fly...the same results happen when I use the .NET hyperlink control.

here is the text...

"<a href=www.cnn.com target="_blank">your link here</a>"

thanks
Doug
 
R

Richard K Bethell

Doug Swanson said:
So I've added a hyperlink to a screen based on a url stored in a database.
The problem is that the hyperlink text is not underlined....but it becomes
underlined when you hover over it. Small thing but it's what the users
want... The screen/window that it is on is a popup window if that makes any
difference....btw I'm using a literal and emitting the html code on the
fly...the same results happen when I use the .NET hyperlink control.

here is the text...

"<a href=www.cnn.com target="_blank">your link here</a>"

You probably have some sort of CSS style (either inline or in a CSS
stylesheet) that is controlling the appearance of an <a/> tag. Look for
format definitions for the <A/> tag in your stylesheet. You can find it
there.

Worse comes to worse, you can use the "style=" parameter to force
underlining.

R.
 
C

Curt_C [MVP]

you either have a CSS or a style tag that's overriding the A and A:HOVER
values
 
D

Doug Swanson

That was it...thank you very much...I ended up putting a style tag on the
anchor to override the CSS....

thanks
ds
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top