With the code below, you've set the color of link text ONLY in
#seitenende and also ALL text in #footer and #pieddepage.

#footer, #pieddepage, #seitenende a:link        {
      color: #999369;

}

To set links only in these three divs you'd need this as a first line:

#footer a:link, #pieddepage a:link, #seitenende a:link

I've often wished there was a way to compact that type of code more,
as maybe you were trying to do. But I don't believe there is.

Hope that helps.

Christopher


On Fri, Aug 15, 2008 at 9:19 AM, Rachel Mawhood <[EMAIL PROTECTED]> wrote:
> Hi List,
>
> I have been staring at this so long without solving it.  I'd be
> grateful for your help.  Why, with this styling, only the links on
> the seitendende div are styled correctly (on the others, footer and
> pieddepage, the adjacent ordinary text also goes the wrong colour -
> ie not black - and the link colours are wrong, blue and red, instead
> of yellow/browny shades).
>
> Thank you v. much in advance
> Rachel
>
> ----------------------------------------------------------------------
> #footer, #pieddepage, #seitenende  {
>       clear: both;
>       margin: 0;
>       padding: 0 0 3em 20em;
>       font-size: 70%;
>       height: 1%;
>       text-align: left;
> }
>
> #footer, #pieddepage, #seitenende a:link        {
>       color: #999369;
>       font-weight: bold;
>       background-color: transparent;
>       text-decoration: none;
> }
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to