word-spacingNN 6 IE 4(Mac)/6(Win) CSS 1

Inherited: Yes

Sets the spacing between words when the text is not under external word-spacing constraints (e.g., an align attribute set to justify). IE 5 for Macintosh may exhibit overlap problems with the word-spacing of elements nested inside the one being controlled.

 
CSS Syntax
 
word-spacing: length | normal
 
Value

A value of normal lets the browser handle word spacing according to its rendering calculations. See the discussion about length values at the beginning of this chapter.

 
Initial Value

normal

 
Applies To

All elements.

 
Object Model Reference
 
[window.]document.getElementById("elementID").style.wordSpacing