Hallo liebe Forenmitglieder,
ich habe mal eine Anfängerfrage. Im HTML-Dokument habe ich eine Klasse subsummary erstellt:
<details>
<summary>SEK I</summary>
<details>
<summary class="subsummary">Haupt und Realschule KC und Thementabellen</summary>
<ul>
<li><a href="meineDaten/Se...
Im Stylesheet:
summary {
margin-left: 10px;
padding-left: 5px;
background: #003300;
color: #FFFFFF;
border: solid #FFFFFF 1px;
cursor: pointer;
width: 98%;
}
.subsummary {
background: #006600 !important; /*WARUM GEHT DAS NICHT???????????*/
}
details ul {
list-style: none;
margin-bottom: 1em;
}
Trotzdem haben beide Summary-Blöcke das gleiche Grün. Was mache ich falsch???
Danke für Antworten