Easy Tutorial
❮ Prop Ins Cite Jsref Regexp Constructor ❯

letterSpacing Property


Definition and Usage

The letterSpacing property sets or returns the space between characters in a text.

Syntax

Set the letterSpacing property:

Return the letterSpacing property:

Value Description
normal Default. Defines the standard space between characters.
length Defines the space between characters using units like px, cm, etc. Negative values are allowed.
inherit The value of the letterSpacing property is inherited from the parent element.

Browser Support

All major browsers support the letterSpacing property.

Note: IE7 and earlier versions do not support the "inherit" value. IE8 supports "inherit" only if an !DOCTYPE is specified. IE9 supports "inherit".


Example

Change the space between characters:

❮ Prop Ins Cite Jsref Regexp Constructor ❯