javascript STYLE letterSpacing
| letterSpacing | NN 6 IE 4 DOM 2 |
| Read/Write | |
|
Specifies 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. |
|
| Example | |
document.body.style.letterSpacing = "1.1em"; |
|
| Value | |
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. |
|
| Default | |
normal |
|
Previous: javascript STYLE lineBreak
Next: javascript STYLE left
1861,Nickname,Homepage or email,Comments here,Add comment
