1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: word-spacing
</title>
5 <meta name=
"flags" content=
"ahem">
6 <link rel=
"help" href=
"http://www.w3.org/TR/REC-CSS1#word-spacing">
7 <link rel=
"author" title=
"CSS1 Test Suite Contributors" href=
"http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
8 <link rel=
"author" title=
"Ian Hickson" href=
"mailto:ian@hixie.ch">
9 <style type=
"text/css">
10 div
{ font: 24px/1 Ahem
; width: 18em; background: yellow
; color: aqua
; }
11 .one {word-spacing: 0.25in;}
12 .two {word-spacing: 0.635cm;}
13 .three {word-spacing: 6.35mm;}
14 .four {word-spacing: 18pt;}
15 .five {word-spacing: 1.5pc;}
16 .six {word-spacing: 1em;}
17 .seven {word-spacing: 1.25ex;}
18 .eight {word-spacing: 24px;}
20 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/text.html#spacing-props" title=
"16.4 Letter and word spacing: the 'letter-spacing' and 'word-spacing' properties">
23 <p>There should be a stripy pattern of yellow and aqua below (each vertical stripe should be straight and unbroken).
</p>
24 <div class=
"test">x
xx
xxx
xxxx
</div>
25 <div class=
"test">x
xx
xxx
xxxx
</div>
26 <div class=
"test">x
xx
xxx
xxxx
</div>
27 <div class=
"test">x
xx
xxx
xxxx
</div>
28 <div class=
"test">x
xx
xxx
xxxx
</div>
29 <div class=
"test">x
xx
xxx
xxxx
</div>
30 <div class=
"test">x
xx
xxx
xxxx
</div>
31 <div class=
"test">x
xx
xxx
xxxx
</div>
32 <div class=
"test">x
xx
xxx
xxxx
</div>
33 <div class=
"test">x
xx
xxx
xxxx
</div>
34 <div class=
"test">x
xx
xxx
xxxx
</div>