Huitzilopochtli
Programmer
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
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