Solved

link color

Posted on 1998-06-25
8
163 Views
Last Modified: 2010-04-09
I know its easy and I have done it before but for the life of me I can't remeber how to change individual link colors throughout a page.  I want half blue and half green.  So far, color="# and link="# have not worked.  Thank you.
0
Comment
Question by:brianmm
8 Comments
 
LVL 4

Accepted Solution

by:
martinag earned 50 total points
ID: 1844400
Her's how:
<A HREF="page.htm" STYLE="color: blue">Blue link</A>
<A HREF="page.htm" STYLE="color: green">Green link</A>

To get half of the link blue and the other half green, use this:
<BODY ... LINK="00FF00" ALINK="00FF00" VLINK="00FF00">
<A HREF="page.htm" STYLE="color: blue">Blue link</A>
< HREF="page.htm">Green link</A>

(00FF00 is hex code for green)

Martin
0
 
LVL 28

Expert Comment

by:sybe
ID: 1844401
the proposed answer works with stylesheets and is not supported with all browsers.

The crzay thing is that you can change link colors using the <font color="#...."> tag, but it works only within table cells.

<a href="  "><font color="#..">a colored link</font></a>
0
 
LVL 2

Expert Comment

by:johnny99
ID: 1844402
Er, yes, can't be done except with CSS -- never heard of it being possible within tables -- sounds like a bug -- just out of interest, which browser have you achieved this in?
0
 
LVL 28

Expert Comment

by:sybe
ID: 1844403
The table trick works in NS3 and IE3. A bug ?? well, a feature :)

In NS4 there's is no table needed
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:brianmm
ID: 1844404
Thank you all very much.  Font color was the appropriate tag.
0
 
LVL 28

Expert Comment

by:sybe
ID: 1844405
Then you should have given me the points
0
 

Author Comment

by:brianmm
ID: 1844406
I'm sorry, my friend just told me about this.  How do I assign points to an individual?
0
 
LVL 28

Expert Comment

by:sybe
ID: 1844407
If you accept the answer, the points will go to the one who has given the "proposed answer", there can be only one "proposed answer". You can reject that answer, and then someone else can give a new "proposed answer".

Sometimes when a proposed answer is already given, another answer is posted as a comment. If the comment is the right answer, you shoulod reject the proposed answer, and ask the one who has given the comment, to repost, but now as an answer.

hmmm, hope you still can follow it. I think i formulate it a bit complicated, but it is not.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…

707 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

19 Experts available now in Live!

Get 1:1 Help Now