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
Solved

a specific color for a link

Posted on 1998-10-15
3
171 Views
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

THANKS FOR YOUR ANSWER

BYE
0
Comment
Question by:sellig
3 Comments
 
LVL 2

Accepted Solution

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

//grdv
0
 
LVL 28

Expert Comment

by:sybe
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.

0
 
LVL 8

Expert Comment

by:jbirk
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).

-Josh
0

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