[Prev][Next][Index][Thread]

Re: Link colors (correction)



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 :-)
<**---------------------------------------------------------------**>
Susie Nour(susien@aba.net.au)      Australian Business Access Pty Ltd 
http://www.aba.net.au                            Fax: +61 3 9282 2599
723 Swanston St Carlton Vic 3052               Phone: +61 3 9282 2588

"There will always be a wide interval between 
			practical and ideal excellence." Rambler.


Follow-Ups: References: