Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 DIFFERENT Link Colors -- SAME page

Status
Not open for further replies.

5656

Technical User
Jan 6, 2001
68
US
I would really like to have my links be more than one color on the same HTML page -- anybody know how I can do this ? Do I need to use "class" attribute ?

thanks for any help.

-joe
 
Between the <a> </a> tags, you can use the <font> </font> tags to specify the color of the text of the link.
Hope this helps,

Olivier
 
you could also do it with a class:

<style>
a {color:blue;}
.green {color:green;}
</style>

<a href=&quot;d&quot;>a blue link</a>
<a class=&quot;green&quot; href=&quot;d&quot;>a green link</a> jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top