PDA

View Full Version : what's the code for the under line link...


[Darken Hybrid]
03-31-2003, 04:53 AM
i know there's a code for links not to be underlined. I knew it but i forgot. so can u guys tell me as soon as possible?

Bryan
03-31-2003, 12:23 PM
Put this inside the <head></head> tags:
<style>
*A:link {text-decoration: none; color: #000000}
*A:visited {text-decoration: none; color: #000000}
*A:active {text-decoration: none; color: #000000}
*A:hover {text-decoration: underline; color: #000000}
</style>


You can change what color you want links to be on that page, what color you want visited links, what color you want active links to be, and what color you want it to be while hovering over it.(as well as text decoration for all four).

[Darken Hybrid]
04-02-2003, 02:31 AM
thanx. (w00t)

Bryan
04-02-2003, 04:50 AM
Originally posted by [Darken Hybrid]@Apr 1 2003, 10:31 PM
thanx. (w00t)
Glad I could help. :)

image_distort
04-06-2003, 02:48 PM
That, and you can also use CSS. It's more advanced, but you can make your links more better with that.

I'll post a link to the tutorial soon.

Alex
04-06-2003, 07:14 PM
What Bryan posted is CSS :mellow:

Willstar
04-06-2003, 07:19 PM
Originally posted by Alex@Apr 6 2003, 01:14 PM
What Bryan posted is CSS :mellow:
Lalit means external CSS sheets, instead of internal, which is what Bryan posted.