Hello,
you might recognize what the problem is if you format the css code in a
different way, e.g. like this:
#footer,
#pieddepage,
#seitenende a:link {
color: #999369;
font-weight: bold;
background-color: transparent;
text-decoration: none;
}
You are styling the links within #seitenende, but you are not styling
the links within #footer or #pieddepage, but their whole content.
The following should work, has to be applied to the other link
pseudoclasses as well:
#footer a:link,
#pieddepage a:link,
#seitenende a:link {
color: #999369;
font-weight: bold;
background-color: transparent;
text-decoration: none;
}
Regards,
Christian Kirchhoff
*Directmedia Publishing GmbH* · Möckernstraße 68 · 10965 Berlin
www.digitale-bibliothek.de
AG Berlin-Charlottenburg · HR B 58002 · USt.Id. DE173211737
Geschäftsführer: Ralf Szymanski
Rachel Mawhood schrieb:
> 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;
> }
>
> #footer, #pieddepage, #seitenende a:visited {
> color: #909060;
> font-weight: bold;
> background-color: transparent;
> text-decoration: none;
> }
>
> #footer, #pieddepage, #seitenende a:hover {
> color: #c9B960;
> font-weight: bold;
> background-color: transparent;
> text-decoration: underline;
> }
>
> #footer, #pieddepage, #seitenende a:active {
> color: #c9B960;
> font-weight: bold;
> background-color: transparent;
> text-decoration: underline;
> }
>
> ______________________________________________________________________
> 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/
>
______________________________________________________________________
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/