Click to See Complete Forum and Search --> : Link Script?


RedBuzzard
03-10-2004, 12:38 PM
Can someone give me the script that get rid of the underlining of active links?

Pittimann
03-10-2004, 12:42 PM
Hi!

You will not need any script for that - it's a css issue.

Cheers - Pit

Edit: sorry, could have told you, how to do it...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<STYLE TYPE="text/css">
a:link, a:visited, a:active {text-decoration:none}
</STYLE>
</head>
<body>
<a href="blah.htm">I am not underlined</a>
</body>
</html>

RedBuzzard
03-10-2004, 02:38 PM
Thank you. That did the trick. :cool:

Pittimann
03-10-2004, 02:43 PM
Hi!

You're welcome! If you want to learn more "tricks" like that - there is a css forum available here as well.

Cheers & good luck - Pit ;)

fredmv
03-10-2004, 02:52 PM
Welcome to the forums.

Note that by removing link underlines you are ruining usability as well as accessibility. Colorblind users won't be able to tell the difference between normal text and links very easily. So, if you care at all about either of these two very important topic, I'd add the underline back on your links or make something else about the links stand out.