/

HTML / CSS / JavaScript Tutorial

CSS Property: word-spacing

[this page | pdf | back links]

The CSS (CSS1) word-spacing property indicates the amount of whitespace between words.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

length

Additional space between words as a CSS length, can be negative

normal

(default value). Normal space between words

 

Default Value:

normal

JavaScript syntax:

e.g. object.style.wordSpacing="10px"

Inherited:

Yes

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile