HTML and CSS Reference
In-Depth Information
the width of the bound content itself may be 200px but the overall canvas space
consumed is 300px to account for the borders and padding:
20
px
30
px
30
px
20
px
200 px
300 px
word-spacing
This property sets the spacing between words.
Syntax
word-spacing: length | normal | inherit
Length values can be set in any allowed measurement like inches ( in ), centimeters ( cm ),
millimeters ( mm ), points ( pt ), picas ( pc ), em spaces ( em ), or pixels ( px ). Negative values are
possible with this property, and may be used for interesting typographical effects. The default
value of normal sets word spacing to the standard browser setting.
Examples
p {font-family: Arial; font-size: 16pt; word-spacing: 3pt;}
p.normal {font-family: Helvetica; font-size: 12pt; word-spacing: normal;}
.carson {word-spacing: -5px;}
Compatibility
CSS 1, 2, 3 IE 4-7 (partial or buggy), IE 8+ Netscape 4+, Firefox 1+ Opera 4+, Safari 1+
 
Search WWH ::




Custom Search