[CLUE-Tech] Font color for links: variations of a theme

Joe 'Zonker' Brockmeier jbrockmeier at earthlink.net
Tue Jun 19 19:04:07 MDT 2001


On Tue, 19 Jun 2001, Grant Johnson wrote:

> You can also set a color for ALL of the links by setting it in the BODY
> tag.

The best way to do this is to eschew the <font> and <body> tags 
altogether and include style sheets like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<style>
a {color: blue}
</style>
</head>
...

The FONT element is deprecated in HTML 4.01, and will likely disappear
in the next version from the W3C. The use of the background, text, link,
alink and vlink attributes for the BODY element is also depricated 
in favor of stylesheets in 4.01, and they will also likely disappear.

Take care,

Zonker
--
Joe 'Zonker' Brockmeier -=- jbrockmeier at earthlink.net
http://www.DissociatedPress.net/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Well, I've wrestled with reality for 35 years, doctor, 
and I'm happy to state I finally won out over it."
 -- Elwood P. Dowd 




More information about the clue-tech mailing list