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

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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

636 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