February 17, 2014
Counters in CSS: making a table of contents list
As I’m sure you know, you can create an ordered bullet point list but it has limitations. For example, if I wanted to have a table of contents so that the numbering goes 1, 1.1, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.3.1 and so on then the standard ordered list just isn’t going to cut it. Oh, sure, you could reset the...