July 1998
Intermediate to advanced
1456 pages
65h 5m
English
letterSpacing — NN n/a IE 4 DOM n/a
Read/Write
The spacing between characters within an element. Browsers normally define the character spacing based on font definitions and operating system font rendering. Assigning a negative value tightens the spacing, but be sure to test the effect on the selected font for readability on different operating systems.
document.body.style.letterSpacing = "1.1em"
A string of a length value (with unit of measure) or
normal. The best results are achieved by using
units that are based on the rendered font size (em
and ex). A setting of normal is
how the browser sets the letters without any intervention.
normal
Read now
Unlock full access