ol.ml li:before {
counter-increment:list;
content: counters(list, ".") ". ";
}
By using the above, I can create lists with
1.
1.1.
1.2.
etc numbering, which is what I (almost) need. However, is there a
way of removing the final '.' on the *lower* levels, so that the
above would come out as
1.
1.1
1.2
which is waht I really "need"?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 84:52:15 |
Calls: | 6,495 |
Calls today: | 6 |
Files: | 12,097 |
Messages: | 5,276,962 |