W3C home > Mailing lists > Public > www-style@w3.org > September 1997

Re: Link colors (correction)

From: Steve Mulder <smulder@ziff.shore.net>
Date: Fri, 12 Sep 1997 14:55:22 -0400
Message-Id: <3.0.3.32.19970912145522.007f5890@ziff.shore.net>
To: www-style@w3.org
At 11:23 AM 9/9/97 +1000, Susie wrote:
>Hakon Lie wrote:
>> 
>> EMeyer writes:
>> 
>>  > Let me try that again, only this time with the correct syntax for
classed
>>  > anchor pseudo-classes.  Here's what I meant to write:
>>  >
>>  >    <STYLE type="text/css">
>>  >    A.sidebar:link {color: #990000;}
>>  >    A.sidebar:visited {color: #990000;}
>>  >    </STYLE>
>>  >
>>  >    <DIV class="sidebar">
>>  >       ...sidebar links and other content...
>>  >    </DIV>
>>  >
>>  > In penance for my error, I promise to say three Hail Hakons.
>> 
>> You might have to add a few more. I believe you want something a la:
>> 
>>    <STYLE type="text/css">
>>      DIV.sidebar A:link {color: #990000;}
>>      DIV.sidebar A:visited {color: #990000;}
>>    </STYLE>
>> 
>>    <DIV class="sidebar">
>>       ...sidebar links and other content...
>>    </DIV>
>
>Wouldn't it be a matter of ?
>
>   <STYLE type="text/css">
>     .sidebar A:link {color: #990000;}
>     .sidebar A:visited {color: #990000;}
>   </STYLE>
>
>   <DIV class="sidebar">
>      ...sidebar links and other content...
>   </DIV>
>
>-- 
>Regards
>Susie :-)


For an example of this kind of thing in action, I invite you to check out
our site, which was just relaunched with a new design (and subtle use of
CSS). Links are underlined in the main content area, but not in the
navigation bar...

http://www.zdu.com/

steve


``````````````````````` ` ` ` ` ` ` ` ` ` ` ` ` ` `
S T E V E   M U L D E R        Campus Store Manager
                                   ZDNet University
smulder@ziff.shore.net           http://www.zdu.com
Received on Friday, 12 September 1997 15:12:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:51 GMT