The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Generated Content |
| Previous Style: position | Next Style: richness |


quotes

Sets the type of quotation marks to use in the page.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported
Notes:
  • This property can only be used within a STYLE block or an external style sheet. You can't use it as an inline style.
  • Once you've set the type of quotation marks, you insert the quotation marks by using the content property.
  • Here are some quotation mark values you can use with this property:

    Use This...To Get This...
    ""
    ''
    ««
    »»
    ‘
    ’
    “
    ”
    „
    ‹
    ›

See Also:

content

Possible Values:

none
No quotation marks.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

[string string]
A pair of values that specify the opening and closing quotation marks.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

Notes:
  • You can enter multiple pairs of values. The first pair represents the first level of quotation marks, the second pair represents the second level of quotation marks (that is, the quotation marks to use if a quote is embedded within another quote), and so on.

Example:
<STYLE TYPE="text/css">
<!--
BLOCKQUOTE (quotes: "&#8220" "&#8221" "&#8216" "&#8217"}
BLOCKQUOTE:before {content: open-quote}
BLOCKQUOTE:after {content: close-quote}
-->
</STYLE>

| Index | Current Category: Generated Content |
| Previous Style: position | Next Style: richness |