• 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.
 

RangerOfFire

New Member
Simple add this code in the <head> section of your page:

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

ian

Active Member
thank you.

is there anyway to have different colors for different links in the same page?
 

monaghan

New Member
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.
 

RangerOfFire

New Member
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.
 

Yojance

New Member
Yeah, create classes and you can have different styles for links on the same page. Never tried it before but it should work
 

gmcnairn

New Member
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.
 
Top