Visit Mozilla.org

CSS:quotes

From MDC

« CSS « CSS Reference

[edit] Summary

quotes property indicates how user agents should render quotation marks.

[edit] Syntax

quotes : [<string> <string>]+ | none | inherit

[edit] Values

none
inherit
[<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

View Live Examples

q:lang { quotes: '"' '"' "'" "'" }
q:before { content: open-quote }
q:after  { content: close-quote }


[edit] Notes

[edit] Specifications

[edit] Browser compatibility

Browser Lowest Version
Internet Explorer ?
Firefox ?
Netscape ?
Opera ?
Safari ?

[edit] See also

content