Other Relevant Stuff
content (p. 348)
inserts content before or after an element
The Ultimate CSS Reference 354
counter-reset
counter-reset: { identifier [integer]1 or more pairs |
none | inherit } ??¦;
This property creates or resets one or
more counters. The created counters
have a scope: the element for which the
counter is created, its following siblings,
and all descendants of the element and
its following siblings.
The counter-reset property is usually
used in conjunction with
counter-increment (p. 352) to handle
automatic numbering, and with
content (p. 348) to display the generated
counter values.
Value
The value none ensures that no counters
will be reset.
If one or more identifiers are specified,
each named counter will be reset. If an
integer value is specified after the identifier, the counter is reset to that value. The
default reset value is 0.
Example
These style rules assign a two-level
numbering system for tables. One counter
is incremented for body row groups, and
the other for each row.
Pages:
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519