[thelist] Re: Changing link colors

Carleen Tracy carleen.tracy at b3interactive.com
Wed Nov 1 11:32:33 CST 2000

in your response below, does this allow you to have different color v.link
states on the same page?

Carleen Tracy
Creative Lead
B3 Interactive
carleen.tracy at b3interactive.com
Boston, Seattle

Message: 27
Date: Wed, 01 Nov 2000 11:38:48 -0500
To: thelist at lists.evolt.org
From: Seb Barre <sebastien at oven.com>
Subject: Fwd: Re: [thelist] Changing link colors
Reply-To: thelist at lists.evolt.org

Forwarded to the list in case anyone else was wondering about this.

>At 08:22 AM 11/1/2000 -0800, you wrote:
>>How does one change link, A:link{ , colors on the same page, for instance
>>one color for a white background and another for a colored background.
>>Direct response please since I'm on digest.
>You can use class attributes to give tags of the same type different
>In your CSS declaration you could have:
>.whitebg {
>         color : #000000 ;
>.blackbg {
>         color : #FFFFFF ;
>Note the dot in front of the class name, it's important to put that in (to
>tell the CSS parser that it's a class not a tag).
>Then in your HTML you would have <a href="http://whatever/" class=whitebg>
>(or class=blackbg).
>Class attributes work on any HTML tag and really give you complete control
>over the appearance of virtually every tag in your document.

--- -- -
Seb Barre - sebastien at oven.com
OVEN Digital Toronto
Work: 416-595-9750 x 222
Mobile: 416-254-5078


More information about the thelist mailing list