Solved

a specific color for a link

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS Logo Problem. 2 20
Html5 Index on a table 7 25
Javascript_Set_dropdown_value 7 32
If condition on Html with Asp 11 13
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

808 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