Hallo,
Aber hallo, das geht doch gar nicht!
"1, 2, 2a, 3, 4, 4a, 4b" usw zählt kann ich mit diesen Mitteln nicht erreichen, oder doch? Ich finde die Frage gar nicht so blöd.
Natürlich geht das und zwar mit CSS. ;-)
Leider nur Opera ist in der lage es auch darzustellen:
--------
<html>
<head>
<title>Listen mit hybriden Nummerierung</title>
<style type="text/css">
li:before {color:red;}
ol.ebene1 { counter-reset:listenpunkt; list-style-type:none; }
ol.ebene1 li:before { content: counters(listenpunkt, ".", decimal) " "; counter-increment:listenpunkt; }
ol.ebene2 { counter-reset:liste; list-style-type:none; }
ol.ebene2 li:before { content: counter(listenpunkt) counter(liste,lower-alpha) " "; counter-increment:liste;}
</style>
</head>
<body>
<ol class="ebene1">
<li>eins</li>
<li>zewi
<ol class="ebene2">
<li>zwei a</li>
</ol>
</li>
<li>drei</li>
<li>vier
<ol class="ebene2">
<li>vier a</li>
<li>vier b</li>
</ol>
</li>
<li>fünf</li>
<li>sehs</li>
</ol>
</body>
</html>
--------------
Grüße
Thomas