1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: letter-spacing</title>
5 <meta name="flags" content="ahem">
6 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#letter-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 {letter-spacing: 0.25in;}
12 .two {letter-spacing: 0.635cm;}
13 .three {letter-spacing: 6.35mm;}
14 .four {letter-spacing: 18pt;}
15 .five {letter-spacing: 1.5pc;}
16 .six {letter-spacing: 1em;}
17 .seven {letter-spacing: 1.25ex;}
18 .eight {letter-spacing: 24px;}
19 </style>
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">
21 </head>
22 <body>
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 x x x x x </div>
25 <div class="test">x x x x x x </div>
26 <div class="test">x x x x x x </div>
27 <div class="one"> xx xx xx </div>
28 <div class="two"> xx xx xx </div>
29 <div class="three"> xx xx xx </div>
30 <div class="four"> xx xx xx </div>
31 <div class="five"> xx xx xx </div>
32 <div class="six"> xx xx xx </div>
33 <div class="seven"> xx xx xx </div>
34 <div class="eight"> xx xx xx </div>
35 </body>
36 </html>