MudGuard: zwei Klassen für ein Element

Beitrag lesen

Hi,

div[class="inhalt"]{
  <div class="inhalt monatsarchiv">

siehe http://www.w3.org/TR/REC-CSS2/selector.html#attribute-selectors:

[att=val]
    Match when the element's "att" attribute value is exactly "val".

das class-Attribut ist nicht exakt "inhalt" - also kann das nicht funktionieren.
Lösungsmöglichkeit:

[att~=val]
    Match when the element's "att" attribute value is a space-separated list of "words", one of which is exactly "val". If this selector is used, the words in the value must not contain spaces (since they are separated by spaces).

cu,
Andreas

--
MudGuard? Siehe http://www.Mud-Guard.de/
Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.