>> Believe it or not:
>>
>> li:before { content: counters(list, ".") ". " }
Interesting-- works for me just fine in Opera (9.63), but it fails in Chrome.
I thought the idea of 'counters' was for nested lists, which this test
case doesn't have. I created my own quick nested version:
<ol>
<li>one</li>
<li>two
<ol>
<li>point-one</li>
<li>point-two</li>
</ol>
</li>
<li>three</li>
</ol>
with
ol {counter-reset: list; list-style: none;}
li:before {
counter-increment: list;
content: counters(list, ".") " ";
}
Which worked just fine in all browsers (that generate content).
Tim
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/