Code:<style> A:visited {text-decoration: none;} A:hover {text-decoration: none;} A:link {text-decoration: none;} A:active {text-decoration: none;} </style>
Hey all,
How do I get rid the underline of a hyperlink? On my site the underlining on the links look crappy. Take a look for yourself (the link is in my sig).
Life is like being a virgin. You'll never know when you're going to get f***ed!
Code:<style> A:visited {text-decoration: none;} A:hover {text-decoration: none;} A:link {text-decoration: none;} A:active {text-decoration: none;} </style>
▀▄▀▄▀▄▀▄▀▄▀▄▀▄
▀▄▀▄▀▄▀▄▀▄▀▄▀▄
Thx for the help. 1 more question where do I input the code, header or body?
Life is like being a virgin. You'll never know when you're going to get f***ed!
It doesn't really matter where you put it, it's just more proper to put it in the head.I put my code in the body section, but it works too. May I know whats happening?
I think I may have been here before... a long, long time ago... 599699 Unread Posts, you say?
Ah, I found my old avatar. The hypnotic evil duck.
It was 2002. Duck avatars were the style at the time.
Long and fascinating story there. I'd tell you if I remembered it.
actually, if you want all your links minus the underline [active, visited, etc...], just use this:Code:<style> a {text-decoration:none} </style>
w3rd
<style>
a { text-decoration: none }
a:hover { text-decoration: underline }
</style>
this one works with IE but not in NS < 6.xx
my experience is that the order in which u write the style is important... i.e.
1. a:link.class
2. a:visited.class
3. a:hover.class
4. a:active.class
if u don't stick to this order, the links in MSIE will be buggy especially when using 'class'
J de Silva
Learning Journal
Bookmarks