Changing Link Colors

At 12:10 AM 1/27/99 -0600, nathan wrote:
>I have a link whose color I'd like to be white, regardless of state. The 
>link is on a brownish background. Also on this same page, there are links 
>which are on a white background.
>
>Question: Is it possible to force the on-brown links to appear white, 
>independent of the body links?

Try this; it should work back to both 3.x browsers:

   <a href="blah.html"
      style="color:#ffffff;"><font color="#ffffff">blah</font></a>

It ain't pretty, but it seems to work. Plus, if you want to make this code
standards compliant down the road, all you have to do is remove the font tag.

Back to my workshop


NOTE: NS3 has some really quirky behavior in this area. If the link is inside a table this method will work fine, but if the link is just in the body of the document all hell breaks loose. The links don't appear to change color from the page's link color, but if you look very closely at the edges of the first link below you'll see a faint halo of blue-ish pixels. (See the blown-up screen capture below.) Weird stuff...

Porter's Workshop Test Link
(color set using font tag and style attribute, should be blue)

Porter's Workshop Test Link
(plain link, should be red)

Porter's Workshop Test Link
(color set using font tag and style attribute, should be blue)

Porter's Workshop Test Link
(plain link, should be red)


Blown-up screen capture of the top two links as viewed in NS3.

NS3 Screen Capture Image