html "link" color help

funindia

New Member
Messages
318
Reaction score
0
Points
0
you can use this example

<p align="center"><font color="#FF0000" size="5" face="Verdana">Visit </font><a href="http://www.x10hosting.com"><font size="5" face="Verdana" color="#008000">www.x10hosting.com</font></a>
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
funindia said:
you can use this example

<p align="center"><font color="#FF0000" size="5" face="Verdana">Visit </font><a href="http://www.x10hosting.com"><font size="5" face="Verdana" color="#008000">www.x10hosting.com</font></a>


I know you got it... but I saw that, and I have to say something.

I don't think that will work. Links are colored useing CSS, or style sheets. Other attributes can affect the text, like the size, font-weight, etc, without style sheets. Example:

Code:
<style type="text/css">
A:link {
	COLOR: #000000;
	TEXT-DECORATION: none;
}

A:visited {
	COLOR: #000000;
	TEXT-DECORATION: none;
}

A:active {
	COLOR: #000000;
	TEXT-DECORATION: none;
}

A:hover {
	COLOR: #000000;
	TEXT-DECORATION: underline;
}
</style>

That would make all links text color black, and make them underline when you scroll over them.
 
Top