Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 09-06-2011, 12:12 AM   #1
ncjbhd
Registered User
 
Join Date: Jul 2011
Posts: 262
Need hyperlink help......

I am currently using an inegrated CSS, and cannot for the life of me figure something out. What I want to do is setup my links so that they appear without an underline, yet when hovered, the color changes and the underline shows up. I know how to change the color, but can't figure out how to make the underline appear. When I go into my CSS editor, I select no text decoration for my link, and select underline for my hover. When I do this, the link still doesn' underline. Anybody know how I can do this?
ncjbhd is offline   Reply With Quote

Old 09-12-2011, 05:07 AM   #2
Jagbani
Registered User
 
Join Date: Jul 2010
Location: Delhi
Posts: 107
yes we do this.
This Code is:-

<style type="text/css">
a:link {
COLOR: #0000FF;
}
a:visited {
COLOR: #800080;
}
a:hover {
COLOR: #FF0000;
}
a:active {
COLOR: #00FF00;
}
</style>


Jagbani is offline   Reply With Quote
Old 09-30-2011, 01:51 AM   #3
patrick0001
Registered User
 
Join Date: Sep 2011
Posts: 98
this is the correct code:

a {text-decoration:underline}
__________________
Able Enterprise Custom gift
www.amintl.com.au - network solution
patrick0001 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:30 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.