Revision 25280 of quotes

  • Revision slug: CSS/quotes
  • Revision title: quotes
  • Revision id: 25280
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment 40 words added; page display name changed to 'quotes'

Revision Content

{{ CSSRef() }}

Summary

quotes property indicates how user agents should render quotation marks.

  • {{ Xref_cssinitial() }}: user agent specific
  • Applies to: all elements
  • {{ Xref_cssinherited() }}: yes
  • Percentages: n/a
  • Media: {{ Xref_cssvisual() }}
  • {{ Xref_csscomputed() }}:

Syntax

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

Values

{{ Cssxref("none") }}
{{ Cssxref("inherit") }}
{{ mediawiki.external('<string> <string>') }}</string></string>+
A list of paired {{ Xref_cssstring() }} 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.

Examples

{{ CSSRefExampleLink("quotes") }}

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

Notes

{{ fx_minversion_note("3.1", "Starting in Firefox 3.1, the initial value of the quotes property can be read using -moz-initial.  This wasn't possible in earlier versions of Firefox.") }}

Specifications

Browser compatibility

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

See also

{{ Cssxref("content") }}

Revision Source

<p>{{ CSSRef() }}</p>
<h3 name="Summary">Summary</h3>
<p><strong>quotes</strong> property indicates how user agents should render quotation marks.</p>
<ul> <li>{{ Xref_cssinitial() }}: user agent specific</li> <li>Applies to: all elements</li> <li>{{ Xref_cssinherited() }}: yes</li> <li>Percentages: n/a</li> <li>Media: {{ Xref_cssvisual() }}</li> <li>{{ Xref_csscomputed() }}:</li>
</ul>
<h3 name="Syntax">Syntax</h3>
<pre class="eval">quotes : [&lt;string&gt; &lt;string&gt;]+ | none | inherit
</pre>
<h3 name="Values">Values</h3>
<dl><dt>{{ Cssxref("none") }} </dt><dt>{{ Cssxref("inherit") }} </dt><dt><code>{{ mediawiki.external('<string> <string>') }}</string></string>+</code></dt><dd> A list of paired {{ Xref_cssstring() }} 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. </dd></dl>
<h3 name="Examples">Examples</h3>
<p>{{ CSSRefExampleLink("quotes") }}</p>
<pre class="eval">q:lang { quotes: '"' '"' "'" "'" }
q:before { content: open-quote }
q:after  { content: close-quote }
</pre>
<h3 name="Notes">Notes</h3>
<p>{{ fx_minversion_note("3.1", "Starting in Firefox 3.1, the initial value of the quotes property can be read using -moz-initial.  This wasn't possible in earlier versions of Firefox.") }}</p>
<h3 name="Specifications">Specifications</h3>
<ul> <li><a class="external" href="http://www.w3.org/TR/CSS21/generate.html#quotes">W3C Cascading Style Sheets, level 2 revision 1</a></li> <li><a class="external" href="http://www.w3.org/TR/REC-CSS2/generate.html#quotes">W3C Cascading Style Sheets, level 2</a></li> <li><a class="external" href="http://www.w3.org/TR/css3-content/#quotes">W3C Cascading Style Sheets, level 3</a></li>
</ul>
<h3 name="Browser_compatibility">Browser compatibility</h3>
<table class="standard-table"> <tbody> <tr> <th>Browser</th> <th>Lowest Version</th> </tr> <tr> <td>Internet Explorer</td> <td>?</td> </tr> <tr> <td>Firefox</td> <td>?</td> </tr> <tr> <td>Netscape</td> <td>?</td> </tr> <tr> <td>Opera</td> <td>?</td> </tr> <tr> <td>Safari</td> <td>?</td> </tr> </tbody>
</table>
<h3 name="See_also">See also</h3>
<p>{{ Cssxref("content") }}</p>
Revert to this revision