Solved

link color

Posted on 1998-06-25
8
173 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
spacing 5 57
Centering Vertically 3 28
insert text field data into html script 13 31
How to get this page layout correct 13 9
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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.…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

864 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

16 Experts available now in Live!

Get 1:1 Help Now