letter-spacingletter-spacing*
*Contents  *Index  *Topic Contents
*Previous Topic: left
*Next Topic: line-height

letter-spacing

Description

Specifies additional space between letters.

Syntax

{ letter-spacing: normal | length}

Remarks

This attribute will add the appropriate letter spacing after each character. If you do not want the end of a word to be affected by the spacing, you need to place the last character outside the closing element tag. Letter spacing can be influenced by justification . The length value indicates an addition to the default space between characters. Negative values are permitted.

This attribute is inherited.

Example

In the following example, the word-spacing between each character in BLOCKQUOTE elements would be increased with '1.0em'.

BLOCKQUOTE { letter-spacing: 1.0em }

Applies To

A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HTML, I, INPUT, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, S, SAMP, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP, INPUT type=button, INPUT type=file, INPUT type=reset, INPUT type=submit, INPUT type=text

Scripting Property

letterSpacing


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.