The value in the
first cell in each row is prepended with the
two counters, such as A.1, A.2, A.3, and so
on.
table {
counter-reset: group;
}
tbody {
counter-increment: group;
counter-reset: row;
}
tbody tr {
counter-increment: row;
}
tbody td:first-child:before {
content: counter(group,
upper-latin) "." counter(row);
}
Compatibility
SPEC
version initial inherited
CSS2 none NO
BROWSER SUPPORT
Op9.2+ Saf3 FF1+ IE7
FULL NONE FULL NONE
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full None None None Full Full Full None None None
Internet Explorer for Windows versions up to and including 7 don??™t support
generated content or counters.
Safari versions up to and including 3 don??™t support this property.
In Opera, counters used without a counter-reset have global scope, instead of the
scope of the elements for which they??™re used.
Other Relevant Stuff
content (p. 348)
inserts content before or after an element
SPEC
version initial inherited
CSS2 see below YES
BROWSER SUPPORT
Op9.
Pages:
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520