Click to See Complete Forum and Search --> : How do you remove the underling with a link?


Gaz
03-07-2008, 01:27 PM
Hi

I am making a text link and want there to be no underling. How is this done?

Thanks Gaz

skywalker2208
03-07-2008, 01:47 PM
use in your css text-decoration: none

WebJoel
03-07-2008, 10:10 PM
more specifically, it's the anchor you want affected:

a {text-decoration:none;}

to have the underline re-appear on-hover, add:

a:hover {text-decoration: underline;}

A kewl effect for on-hover is this:

a:hover {text-decoration:underline; letter-spacing:0.3em;}

that last part will 'space out' the letters of the anchor text. Adjust as needed.

Gaz
03-08-2008, 07:25 AM
thanks a lot :)