word-spacing

The word-spacing property specifies spacing behavior between words.

Syntax

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

Values

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

DOM

[window.]document.getElementById("element-id").style.wordSpacing = "word-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