blob: da4a1f4773986e533ca92bc0905432278a9127dd [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: text-align</title>
<style type="text/css">
p { color: navy; }
span { color: silver; }
.one {text-align: left;}
.two {text-align: right;}
.three {text-align: center;}
.four {text-align: justify;}
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" title="16.2 Alignment: the 'text-align' property">
</head>
<body>
<p class="one">
This sentence should be left-justified.
</p>
<p class="two">
This sentence should be right-justified.
</p>
<p class="three">
This sentence should be centered.
</p>
<p class="four">
This paragraph should be justified (the right and left margins
should line up). <span> This is just lovely dummy text. Dummy text. Dummy
text. This is just lovely dummy text. This is just lovely dummy text. Dummy text.
This is just lovely dummy text. This is just lovely dummy text. Dummy text. Dummy
text. This is just lovely dummy text. This is just lovely dummy text. Dummy text.
This is just lovely dummy text. This is just lovely dummy text. Dummy text. Dummy
text. This is just lovely dummy text. This is just lovely dummy text. Dummy text.
This is just lovely dummy text. This is just lovely dummy text. Dummy text. Dummy
text. This is just lovely dummy text. This is just lovely dummy text. Dummy text.
This is just lovely dummy text. This is just lovely dummy text. Dummy text. Dummy
text. This is just lovely dummy text. This is just lovely dummy text. Dummy text.
This is just lovely dummy text. This is just lovely dummy text. Dummy text. Dummy
text. This is just lovely dummy text. This is just lovely dummy text. Dummy text.
This is just lovely dummy text. This is just lovely dummy text. Dummy text. Dummy
text. This is just lovely dummy text. This is just lovely dummy text. Dummy text.
This is just lovely dummy text. This is just lovely dummy text. Dummy text. Dummy
text. This is just lovely dummy text. This is just lovely dummy text. Dummy text.
This is just lovely dummy text. This is just lovely dummy text. Dummy text. Dummy
text. This is just lovely dummy text. This is just lovely dummy text. Dummy text.
This is just lovely dummy text. This is just lovely dummy text. Dummy text. Dummy
text. Dummy text. </span> This sentence should be at the end of the
block, not justified.
</p>
</body>
</html>