- From: Lindsay Evans <lindsay@redsquare.com.au>
- Date: Tue, 26 Mar 2002 14:12:05 +1100
- To: <www-style@w3.org>
> At 2:44 AM +0100 3/26/02, Christoph P”per wrote:
> > > Might I suggest an extra list-style-type, say "code"
> >> which is equivalent to "decimal" but starts with zero?
> >
> >You mean decimal-leading-zero?
>
> No, I think he means one where the first element is numbered
> zero instead of one. E.g.:
isn't this what counter-reset[1] is for?
ie.
OL {
counter-reset: item -1;
}
LI:before {
content: counter(item) ". ";
counter-increment: item;
}
1: http://www.w3.org/TR/REC-CSS2/generate.html#counters
--
Lindsay Evans.
Developer,
Red Square Productions.
[p] 8596.4000
[f] 8596.4001
[w] www.redsquare.com.au
Received on Monday, 25 March 2002 22:09:27 UTC