• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

how to make links with no underline?

ian

Active Member
I just want my links to be plain text, and when you click on them they can have the underlines. Please help, thank you.
 
Simple add this code in the <head> section of your page:

Code:
<style type="text/css">
a {text-decoration: none; }
</style>
 
thank you.

is there anyway to have different colors for different links in the same page?
 
I've not tried it, but you should be able to define colours per class, then simply add additional classes to the links you want in each colour.
 
You could add clases, or you could define it on a "per-se" basis:

Code:
<a href="/path/to/linked.file" style="color: #HEXCODE">Link here</a>

I havn't tried the above but it should theoretically work.
 
Yeah, create classes and you can have different styles for links on the same page. Never tried it before but it should work
 
Yep, style sheets are the way to go...

You can have as many diferent combinations as you want, Ranger's thing is prob easier, but you can't have different hover colors.
 
Back
Top