letter-spacing

The letter-spacing property specifies spacing behavior between text characters.

Syntax

letter-spacing: normal | <length> | inherit
Initial: normal
Applies To: all elements
Inherited: yes
Percentages: NA
Media: visual

Values

letter-spacing: value
Value Description
length Default spacing addition/subtraction
normal Default spacing

DOM

[window.]document.getElementById("element-id").style.letterSpacing = "letter-spacing";

Example | length

Example | normal

Example | DOM

External

W3C Cascading Style Sheets, level 1

W3C Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification