Open main menu

CDOT Wiki β

CSS GUIDE LETTER SPACING

Revision as of 10:47, 4 December 2006 by Davenrathh (talk | contribs) (See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This document is a work in progress and is subject to change.

Summary

This property increase and decreases the space between letters.

Syntax

p { letter-spacing: -0.5px }

p { letter-spacing: 8px }

Legal Values

Value Description
normal Defines normal space between characters
length The following values can be also used to define the letter-spacing distance:

cm (centimeter) em (ems) inch (inches) mm (millimeters) pc (picas) px (pixels) pt (points)

Mozilla Recommended Values

Usage Examples

H1 { letter-spacing: 0.1em }

P.note { letter-spacing: -0.1em }

Notes

Inherited: Yes

Note: Negative values are allowed.

Specification Conformance

Browser Compatibility

  • Internet Explorer
  • Netscape Navigator
  • Opera
  • Firefox
  • Safari

See Also

  • word-spacing