Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

a specific color for a link

Posted on 1998-10-15
Last Modified: 2010-04-09
we can put a general color for the link in all apage
but how put differents colors for differents links in a same page
for exemple i have my first word "HOME PAGE " I want this link in green and another link like "previews page " this link in blue

How can i do


Question by:sellig

Accepted Solution

Grdv earned 100 total points
ID: 1838736
if you have an css compatible browser... then place this tag in the special a href...
where 2587b2 represents any rgb value... (just a color I like)

LVL 28

Expert Comment

ID: 1838737
You can define the linkcolor using <FONT COLOR="#EEFFDD">. The funny thing is that that only works in a table cell.

This solution works for all 3+ browsers. The stylesheet solution mentioned by Grdv, works only in 4+ browsers.


Expert Comment

ID: 1838738
At least in Netscape 4 and IE 4, you can put the font tags INSIDE the href and the font will apply.  Like this:
this is <a href="test"><font color="Lime">a link</font></a>
It doesn't matter whether or not it's in a table or anything.  This doesn't work in netscape 3 though (and probably not IE 3 either).


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question