Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
letter-spacing
top
Collapse the table of content
Expand the table of content

letter-spacing

Sets the amount of additional space between letters in the object.

Syntax

{ letter-spacing: sSpacing }

Possible values

sSpacing

Variant that specifies 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) Ee371180.xtlink_newWindow(en-us,Expression.40).png.

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

See also

Concepts

word-spacing

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2015 Microsoft