Re: Link colors (correction)

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 UTC