CSS:quotes
From MDC
« CSS « CSS Reference
[edit] Summary
quotes property indicates how user agents should render quotation marks.
- Initial value: user agent specific
- Applies to: all elements
- Inherited: yes
- Percentages: n/a
- Media:
visual - Computed value:
[edit] Syntax
quotes : [<string> <string>]+ | none | inherit
[edit] Values
noneinherit[<string> <string>]+- A list of paired
<string>values for 'open-quote' and 'close-quote'. The first (leftmost) pair represents the outermost level of quotation, the second pair for the first nested level, next pair for third level and so on.
[edit] Examples
q:lang { quotes: '"' '"' "'" "'" }
q:before { content: open-quote }
q:after { content: close-quote }
[edit] Notes
[edit] Specifications
- W3C Cascading Style Sheets, level 2 revision 1
- W3C Cascading Style Sheets, level 2
- W3C Cascading Style Sheets, level 3
[edit] Browser compatibility
| Browser | Lowest Version |
|---|---|
| Internet Explorer | ? |
| Firefox | ? |
| Netscape | ? |
| Opera | ? |
| Safari | ? |