copyright © CSSPG, lud April 21 1999

for practical use of CSS
Using OL.decimalo { display: list-item; list-style: decimal outside;}
Using OL.alphalo { display: list-item; list-style: lower-alpha outside; }
Using OL.romanlo { display: list-item; list-style: lower-roman outside; }
Using OL.alphauo { display: list-item; list-style: upper-alpha outside; }
Using OL.romanuo { display: list-item; list-style: upper-roman outside; }
Using UL.disco { display: list-item; list-style: disc outside; }
Using UL.circleo { display: list-item; list-style: circle outside; }
Using UL.squareo { display: list-item; list-style: square outside; }
Using UL.o { display: list-item; list-style: none outside; }
Using OL.decimali { display: list-item; list-style: decimal inside; }
Using OL.alphali { display: list-item; list-style: lower-alpha inside; }
Using OL.romanli { display: list-item; list-style: lower-roman inside; }
Using OL.alphaui { display: list-item; list-style: upper-alpha inside; }
Using OL.romanui { display: list-item; list-style: upper-roman inside; }
Using UL.disci { display: list-item; list-style: disc inside; }
Using UL.circlei { display: list-item; list-style: circle inside; }
Using UL.squarei { display: list-item; list-style: square inside; }
Using UL.i { display: list-item; list-style: inside; }
CSS2 offers a complex mechanism for implementing automatic counters and generated text through the combination of several properties. These properties are listed below, then examples are provided. As of 30 August, 1998, no UA has implemented the necessary portions of CSS2 to make the examples utile.
display: list-item
content: counter(name)
content: counter(name, style)
:before
:after
counter-reset: integer
counter-reset: identifier
counter-increment: integer
counter-increment: identifier
OL { counter-reset: item }
LI { display: block }
LI:before { content: counters(item, "."); counter-increment: item }