Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

link color

Posted on 1998-06-25
8
Medium Priority
?
212 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
[X]
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
8 Comments
 
LVL 4

Accepted Solution

by:
martinag earned 200 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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
 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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 …

705 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