Help with Links |
Help with Links |
Mandy |
Apr 28 2007, 06:32 AM
Post
#1
|
Group: Members Posts: 6 Joined: 28-April 07 Member No.: 2,650 |
Hello!
I am trying to create a menu with text links that change color with the onmouseover effect. What I am curious about is if I can remove the underline from the text that automatically appears after making it a link? Thanks in advance! Mandy |
Frederiek |
Apr 28 2007, 07:01 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
You can use CSS for both the appearance (underlining) and the mouseover (hover) effect of a link.
To remove underlines of a link (although that might confuse users), use: text-decoration: none; See the CSS reference on text-decoration For a hover effect, use: a:hover { color: #xxxxxx; } See pseudo classes, though there's no talk of the dynamic hover pseudo class there. For that, you might want to take a look at the dynamic pseudo-classes at W3C. In general, go see Where can I learn about CSS?. |
Lo-Fi Version | Time is now: 27th April 2024 - 12:57 PM |