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

Re: Link colors (correction)

From: Hakon Lie <howcome@w3.org>
Date: Mon, 8 Sep 1997 14:22:17 +0200 (MET DST)
Message-Id: <199709081222.OAA29931@stovner.a.sol.no>
To: EMeyer <eam3@po.cwru.edu>
Cc: www-style@w3.org
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;}

   <DIV class="sidebar">
      ...sidebar links and other content...



H      k   o   n      W   i   u   m       L   i   e
howcome@w3.org      http://www.w3.org/people/howcome
World     W      i     d     e       Web  Consortium
Received on Monday, 8 September 1997 08:22:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:44 UTC