W3C home > Mailing lists > Public > www-html@w3.org > August 2000

Changing color of links with style sheets . . .

From: Trip Ward <Trip@ebstor.com>
Date: Wed, 23 Aug 2000 12:49:04 -0400
Message-ID: <E1505C56FA65D311858C0000E81BA75B2B6824@CONCORD>
To: www-html@w3.org
I hope this is not to off topic. . . .

I am sure I will feel the burning sensation as the flamers come out to play
. . . 

but here goes

I have a style sheet. I want links on the same page to display differently
in relation to their background color.

I have the stylesheet code:

 A.botnav:link  {
	font-size : 12px;
	font-family : Arial;
	font-weight : normal;
	font-style : normal;
	color : #c0c0c0;
	text-decoration : none;}

A.botnav:Visited  {
	font-size : 12px;
	font-family : Arial;
	font-weight : normal;
	font-style : normal;
	color : #c0c0c0;
	text-decoration : none;}

A.botnav:Active  {
	font-size : 12px;
	font-family : Arial;
	font-weight : normal;
	font-style : normal;
	color : #c0c0c0;
	text-decoration : none;}

A.botnav:Hover  {
	font-size : 12px;
	font-family : Arial;
	font-weight : normal;
	font-style : normal;
	color : #ceac5c;
	text-decoration : underline;}

But how do I tag the <a href that I want it to appear as? Do I use the class
attribute of the a href? or a standard <p class=" ">?

Please help!!!

Thank you.

Trip Ward
Webmaster
EBStor.com
(703)393-7930 ext 273
Received on Wednesday, 23 August 2000 12:48:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:44 GMT