letter-spacing

  • Revision slug: CSS/letter-spacing
  • Revision title: letter-spacing
  • Revision id: 40885
  • Created:
  • Creator: Mgjbot
  • Is current revision? No
  • Comment robot Adding: [[pl:CSS:letter-spacing]] <<langbot>>

Revision Content

{{ CSSRef() }}

Summary

The letter spacing CSS property specifies the spacing between words in the element's text content. One to three values may be specified to indicate minimum, maximum, and optimal spacing between words.


  • {{ Xref_cssinitial() }}: {{ Cssxref("normal") }}
  • Applies to: all elements
  • {{ Xref_cssinherited() }}: yes
  • Percentages: refers to width of space (U+0020) glyph
  • Media: {{ Xref_cssvisual() }}
  • {{ Xref_csscomputed() }}: 'normal' or computed value or percentage


Syntax

letter-spacing: [ normal | <length>  | <percentage> ] {1,3}

Values

normal 
{{ Xref_csslength() }}  
{{ Xref_csspercentage() }}  

Examples

{{ CSSRefExampleLink("letter-spacing") }} {{ Fixeg() }}

p {
  letter-spacing: .3em .6em .4em;
}

Notes

Specifications

Browser compatibility

{{ Fixbrowser() }}

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

See also

{{ CSS_Reference:Text() }}

uncomment as required {{ mediawiki.internal('Category:NeedsContent', "en") }} {{ mediawiki.internal('Category:NeedsAttention', "en") }} {{ mediawiki.internal('Category:NeedsExample', "en") }} {{ mediawiki.internal('Category:NeedsImageCleanup', "en") }} {{ mediawiki.internal('Category:NeedsMarkupWork', "en") }} {{ mediawiki.internal('Category:NeedsRewrite', "en") }} {{ mediawiki.internal('Category:NeedsTechnicalReview', "en") }} {{ mediawiki.internal('Category:NeedsEditorialReview', "en") }} {{ mediawiki.internal('Category:NeedsUpdate', "en") }}

{{ languages( { "pl": "pl/CSS/letter-spacing" } ) }}

Revision Source

<p> {{ CSSRef() }}
</p>
<h3 name="Summary"> Summary </h3>
<p>The letter spacing CSS property specifies the spacing between words in the element's text content. One to three values may be specified to indicate minimum, maximum, and optimal spacing between words. </p><p><br>
</p>
<ul><li> {{ Xref_cssinitial() }}: {{ Cssxref("normal") }}
</li><li> Applies to: all elements </li><li> {{ Xref_cssinherited() }}: yes
</li><li> Percentages: refers to width of space (U+0020) glyph
</li><li> Media: {{ Xref_cssvisual() }}
</li><li> {{ Xref_csscomputed() }}: 'normal' or computed value or percentage
</li></ul>
<p><br>
</p>
<h3 name="Syntax"> Syntax </h3>
<pre class="eval">letter-spacing: [ normal | &lt;length&gt;  | &lt;percentage&gt; ] {1,3}
</pre>
<h3 name="Values"> Values </h3>
<dl><dt>normal </dt><dd>
</dd><dt>{{ Xref_csslength() }}  </dt><dd>
</dd><dt>{{ Xref_csspercentage() }}  </dt><dd>
</dd></dl>
<h3 name="Examples"> Examples </h3>
<p>{{ CSSRefExampleLink("letter-spacing") }} {{ Fixeg() }}
</p>
<pre class="eval">p {
  letter-spacing: .3em .6em .4em;
}
</pre>
<h3 name="Notes"> Notes </h3>
<h3 name="Specifications"> Specifications </h3>
<ul><li> <a class="external" href="http://www.w3.org/TR/CSS21/text.html#propdef-letter-spacing">W3C Cascading Style Sheets, level 2 revision 1</a> </li><li> <a class="external" href="http://www.w3.org/TR/CSS1#letter-spacing">W3C Cascading Style Sheets, level 1</a> </li><li> <a class="external" href="http://www.w3.org/TR/css3-text/#letter-spacing">W3C Cascading Style Sheets, level 3</a>
</li></ul>
<h3 name="Browser_compatibility"> Browser compatibility </h3>
<p>{{ Fixbrowser() }}
</p>
<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>{{ CSS_Reference:Text() }}
</p><p><span class="comment">uncomment as required {{ mediawiki.internal('Category:NeedsContent', "en") }} {{ mediawiki.internal('Category:NeedsAttention', "en") }} {{ mediawiki.internal('Category:NeedsExample', "en") }} {{ mediawiki.internal('Category:NeedsImageCleanup', "en") }} {{ mediawiki.internal('Category:NeedsMarkupWork', "en") }} {{ mediawiki.internal('Category:NeedsRewrite', "en") }} {{ mediawiki.internal('Category:NeedsTechnicalReview', "en") }} {{ mediawiki.internal('Category:NeedsEditorialReview', "en") }} {{ mediawiki.internal('Category:NeedsUpdate', "en") }}</span>
</p>
<div class="noinclude">
</div>
{{ languages( { "pl": "pl/CSS/letter-spacing" } ) }}
Revert to this revision