Hallo,
folgender Code:
Code:
<div class="div-procon clearfix">
<div class="div-procon-pro">
<ol>
<li>Punkt Nr. X</li>
<li>Punkt Nr. X</li>
<li>Punkt Nr. X</li>
</ol>
</div>
<div class="div-procon-con">
<ol>
<li>Punkt Nr. X</li>
<li>Punkt Nr. X</li>
<li>Punkt Nr. X</li>
</ol>
</div>
</div>
und folgender CSS-Code:
Code:
.div-procon-pro ol, .div-procon-con ol {
background-color: #000000;
}
.div-procon-pro li, .div-procon-con li {
line-height: 0.9em;
}
Das Problem ist das die line-height völlig ignoriert wird, auch wenn ich der ol-Eigenschaft ein margin hinzufüge wird es ignoriert. Ersetze ich das ol durch ul im CSS und im HTML Code funktioniert es einwandfrei, jedoch möchte ich gerne eine Aufzählung haben. Hab ich irgendwas übersehen?
Mfg. BNS