Sets the amount of additional space between letters in the object.
Syntax
{ letter-spacing: sSpacing }
Possible values
sSpacing
Variant that specifies or receives one of the following values:
normal | Default. Default spacing. |
length | Floating-point number, followed by an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). For more information about the supported length units, see Length units reference. |
The property has a default value of normal. It is inherited.
Remarks
When specified as a positive length value, the letter-spacing property adds the specified value to the default spacing between characters within an element. A negative length value decreases the space between characters. Letter spacing can be influenced by justification.
Examples
The following example uses the letter-spacing property to change the space between letters. This example uses the BLOCKQUOTE element as a selector to change the spacing to -0.2 millimeters for all BLOCKQUOTE element objects on the page:
![]() | |
---|---|
<style> blockquote {letter-spacing:-0.2mm} </style> |
Standards information
This property is defined in Cascading Style Sheets (CSS), Level 1 (CSS1).
Applies to
A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, CUSTOM, DD, DEFAULTS, DFN, DIV, DL, DT, EM, FIELDSET, FORM, HN, HTML, I, IMG, INPUT TYPE=BUTTON, INPUT TYPE=CHECKBOX, INPUT TYPE=FILE, INPUT TYPE=IMAGE, INPUT TYPE=PASSWORD, INPUT TYPE=RADIO, INPUT TYPE=RESET, INPUT TYPE=SUBMIT, INPUT TYPE=TEXT, LI, OL, P, S, SELECT, SPAN, SUB, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP