Solved

a specific color for a link

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This article discusses four methods for overlaying images in a container on a web page
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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 basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

747 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now