tags:

views:

272

answers:

3

How do you display hyperlinks without an underline ?

+15  A: 
a:link {
    text-decoration: none;
    color: #0000CC;
}
a:visited {
    text-decoration: none;
    color: #0000CC;
}
a:hover {
    text-decoration: underline;
}
a:active {
    text-decoration: underline;
}

(Or at least that's how we do it.)

Oh, and the order above matters, by the way.

Michael Todd
+1 for instant reply. Thanks.
Kombucha
+1 for making me learn something new ("Oh, and the order above matters, by the way.") and another +1 (if possible :P) for excellent reply.
Zack
+4  A: 
a:link, a:visited {
   text-decoration:none;
}
BipedalShark
+4  A: 

Apply this style:

text-decoration: none;
Joseph