Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS and underlined links

Status
Not open for further replies.

Huitzilopochtli

Programmer
Feb 18, 2002
81
DE
Hello

On some Web pages, I have sometimes seen, for instance, text as in:

About us
Products
Contact

These are links to other pages. When the mouse is passed over the links, they become underlined (the underline is the same colour as the text itself once the mouse is passed over them).

I presume that this is done in CSS, but how? If I have grey original text (which is a link, but not underlined), how do I change its colour to, say, red, and have it underlined in the same shade of red as the text link?

I am not asking for detailed text, but I would appreciate the basics.

Many thanks in advance.

Best wishes

Huitzilopochtli
 
check this thread
thread216-334439 Hope that helps
admin@onpntwebdesigns.com
 
Hello onpnt

Thank you for the link. I se you have answered the question there!

Thanks very much.

Huitzilopochtli

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top