Link colors

Ian Samson (IDSamson@beauty.hsrc.ac.za)
Thu, 28 Aug 1997 11:40:26 +200


From: "Ian Samson" <IDSamson@beauty.hsrc.ac.za>
To: www-html@w3.org, www-style@w3.org
Date: Thu, 28 Aug 1997 11:40:26 +200
Message-ID: <1E4BD663390@beauty.hsrc.ac.za>
Subject: Link colors

Hi all.
Sorry for the cross-post but this has dual relevance.

I hope someone can shed some light on this vexing problem. We are creating 
pages that use a multiplicity of link colors. If, for example, the style 
sheet contains

	A:link { color : #990000 }
	A:active { color : #990000 }
	A:visited { color : #C0C0C0 }

then all occurrences of <a href=> within the document should have the same 
colors.

Okay. Now. On the side bar (vertically) we want the links to be "Burnt 
Sienna" { color : #990000 } and the visited link the same color.

Any link inside the body text of the document must have {color:#990000} for 
the active link, and {color:#C0C0C0} for the visited link.

If we wanted to achieve the result through the use of a style sheet only, 
in other words, no "STYLE=" syntax within the <A HREF> tag, how is this to 
be achieved?

Answers will be gratefully acknowledged.

Many thanks.
----------
Ian Samson
WebMaster & Internet Systems Developer (SBN/MSDN/HWG Member)
Human Sciences Research Council, Pretoria, South Africa
Voice:  (+27(0)12) 302 2013
mailto:IDSamson@beauty.HSRC.ac.za
http://www.hsrc.ac.za/
See my homepage at: http://home.global.co.za/~idsamson
--
Opinions expressed in this message are my own 
and do not reflect official policy of the HSRC.
--
Education is a priority over any sport because without a mind
 you can't contribute to society -- Tiger Woods
--