1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: word-spacing
</title>
5 <style type=
"text/css">
6 div
{ font: 24px/1 Ahem
; width: 18em; background: yellow
; color: aqua
; }
7 .one {word-spacing: 0.25in;}
8 .two {word-spacing: 0.635cm;}
9 .three {word-spacing: 6.35mm;}
10 .four {word-spacing: 18pt;}
11 .five {word-spacing: 1.5pc;}
12 .six {word-spacing: 1em;}
13 .seven {word-spacing: 1.25ex;}
14 .eight {word-spacing: 24px;}
16 <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">
19 <p>There should be a stripy pattern of yellow and aqua below (each vertical stripe should be straight and unbroken).
</p>
20 <div class=
"test">x xx xxx xxxx
</div>
21 <div class=
"test">x xx xxx xxxx
</div>
22 <div class=
"test">x xx xxx xxxx
</div>
23 <div class=
"one"> x xx xxx xxxx
</div>
24 <div class=
"two"> x xx xxx xxxx
</div>
25 <div class=
"three"> x xx xxx xxxx
</div>
26 <div class=
"four"> x xx xxx xxxx
</div>
27 <div class=
"five"> x xx xxx xxxx
</div>
28 <div class=
"six"> x xx xxx xxxx
</div>
29 <div class=
"seven"> x xx xxx xxxx
</div>
30 <div class=
"eight"> x xx xxx xxxx
</div>