Represents the value of a CSS counter.
Platform Support
| IE | Mozilla | Netscape | Opera | Safari | Chrome | no | 1.0+ | no | no | 1.0+ | no |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | Chrome | ||
|---|---|---|---|---|---|---|---|---|---|
|
Counter Constructor() : Counter
Represents the value of a CSS counter.
|
Show Details | no | 1.0+ | no | no | 1.0+ | no | ||
Counter() : CounterRepresents the value of a CSS counter. Returns
|
|||||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Safari | Chrome |
|---|---|---|---|---|---|---|---|
|
identifier
: String
Name of the counter.
|
Show Details | no | 1.0+ | no | no | 1.0+ | no |
|
|||||||
|
listStyle
: String
List style for the counter.
|
Show Details | no | 1.0+ | no | no | 1.0+ | no |
|
|||||||
|
separator
: String
String used to separate nested counters.
|
Show Details | no | 1.0+ | no | no | 1.0+ | no |
|
|||||||
Availability
HTML DOM Level 2|W3C