Prev | Current Page 503 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

w3.org/TR/CSS21/generate.html#content
2 http://www.w3.org/TR/CSS21/generate.html#propdef-content
name. The counters(name,separator) notation inserts the values of all counters
with the specified name, separated by the specified separator string. Both notations
also take an optional list style argument (decimal by default) as the last argument,
to control the style of the output??”for example, counter(item, upper-roman). The
keywords available for the list style argument match those available for the
list-style-type (p. 286) property.
See counter-reset (p. 354) and counter-increment (p. 352) for details about
counters.
The identifier notation inserts the value of the attribute whose name is specified
by the identifier. Note that the argument is an identifier (p. 43); it shouldn??™t be
enclosed in quotes.
Generated Content
351 Generated Content
The open-quote and close-quote values insert the corresponding quotation mark
specified in the quotes (p. 355) property. These values also increment or decrement
the nesting level for quotes.


Pages:
491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515