
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 Standard | Internet Explorer | Netscape 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 Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
- [string string]
A pair of values that specify the opening and closing quotation marks.
-
Support:
-
W3C Standard | Internet Explorer | Netscape 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: "“" "”" "‘" "’"}
BLOCKQUOTE:before {content: open-quote}
BLOCKQUOTE:after {content: close-quote}
-->
</STYLE>
| Index
| Current Category: Generated Content |
| Previous Style: position
| Next Style: richness
|
|