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 <script src=
"../../resources/ahem.js"></script>
7 <link rel=
"help" href=
"http://www.w3.org/TR/REC-CSS1#word-spacing">
8 <link rel=
"author" title=
"CSS1 Test Suite Contributors" href=
"http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
9 <link rel=
"author" title=
"Ian Hickson" href=
"mailto:ian@hixie.ch">
10 <style type=
"text/css">
11 div
{ font: 24px/1 Ahem
; width: 18em; background: yellow
; color: aqua
; }
12 .one {word-spacing: 0.25in;}
13 .two {word-spacing: 0.635cm;}
14 .three {word-spacing: 6.35mm;}
15 .four {word-spacing: 18pt;}
16 .five {word-spacing: 1.5pc;}
17 .six {word-spacing: 1em;}
18 .seven {word-spacing: 1.25ex;}
19 .eight {word-spacing: 24px;}
21 <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">
24 <p>There should be a stripy pattern of yellow and aqua below (each vertical stripe should be straight and unbroken).
</p>
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>
35 <div class=
"test">x
xx
xxx
xxxx
</div>