Prev | Current Page 509 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

2+ Saf3 FF1+ IE7
BUGGY NONE FULL NONE
quotes
quotes: { string string1 or more pairs | none |
inherit } ??¦;
Generated Content
355 Generated Content
This property specifies the quote
characters to use for generated content.
The quote characters specified for this
property are those used for the
open-quote and close-quote values of
the content property.
Quotes can be specified for a number of
nesting levels. Each use of open-quote
or no-open-quote increments the
nesting level, while each use of
close-quote or no-close-quote
decrements the nesting level.
Note that the nesting level has nothing
to do with the markup; it??™s only the use
of the aforementioned content values
that affect the nesting level.
Example
These style rules define the traditional
sequence of quote characters for q elements
in American and British English.
For American English, quotes are normally
surrounded by double quotation marks,
while nested quotes use single quotation
marks. For British English, it??™s the other
way around.


Pages:
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521