You are here:About>Computing & Technology>Web Design / HTML> CSS> Style Properties> CSS Style Property: letter-spacing
About.comWeb Design / HTML
Newsletters & RSSEmail to a friendSubmit to Digg
Related Style Properties

line-heighttext-aligntext-decoration

Related Style Properties

word-spacing

letter-spacing

From Jennifer Kyrnin,
Your Guide to Web Design / HTML.
FREE Newsletter. Sign Up Now!
letter-spacing Description:

The letter-spacing property defines the default amount of space between letters. This can be impacted by justification and other issues.

letter-spacing in CSS Versions:
letter-spacing Syntax:

letter-spacing: normal | <length> | inherit

  • normal
    The normal spacing for the current font
  • <length>
    This indicates space between characters in addition to the default space. Must include the unit.
  • inherit
    The element should have the same letter-spacing setting as the parent.
letter-spacing Initial Value:

normal

letter-spacing Applies To:

All elements.

letter-spacing Inheritance:

This property is inherited.

letter-spacing Browser Support:
letter-spacing Examples:

1em spacing

<p style="letter-spacing : 1em;">
The letters in this paragraph should have at least 1em between them.
</p>
letter-spacing Special Notes:
  • When the text-align property is set to justify, the browser will not change the space between letters if the letter-spacing property is defined.
  • Negative values are permitted and the browser will display these by shrinking the space between letters.
Related Style Properties

line-heighttext-aligntext-decoration

Related Style Properties

word-spacing

 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.