32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||
<html>
|
||
<head>
|
||
<title>CSS 2.1 Test Suite: letter-spacing</title>
|
||
<style type="text/css">
|
||
div { font: 24px/1 Ahem; width: 18em; background: yellow; color: aqua; }
|
||
.one {letter-spacing: 0.25in;}
|
||
.two {letter-spacing: 0.635cm;}
|
||
.three {letter-spacing: 6.35mm;}
|
||
.four {letter-spacing: 18pt;}
|
||
.five {letter-spacing: 1.5pc;}
|
||
.six {letter-spacing: 1em;}
|
||
.seven {letter-spacing: 1.25ex;}
|
||
.eight {letter-spacing: 24px;}
|
||
</style>
|
||
<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">
|
||
</head>
|
||
<body>
|
||
<p>There should be a stripy pattern of yellow and aqua below (each vertical stripe should be straight and unbroken).</p>
|
||
<div class="test">x x x x x x </div>
|
||
<div class="test">x x x x x x </div>
|
||
<div class="test">x x x x x x </div>
|
||
<div class="one"> xx xx xx </div>
|
||
<div class="two"> xx xx xx </div>
|
||
<div class="three"> xx xx xx </div>
|
||
<div class="four"> xx xx xx </div>
|
||
<div class="five"> xx xx xx </div>
|
||
<div class="six"> xx xx xx </div>
|
||
<div class="seven"> xx xx xx </div>
|
||
<div class="eight"> xx xx xx </div>
|
||
</body>
|
||
</html> |