blob: b9d59f3f6a9d378e0535968150c8e37b71598c31 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: margin-left</title>
<style type="text/css">
body { color: navy; }
div { font: 10px/1 Ahem; width: 200px; color: orange; }
img { vertical-align: bottom; }
.zero {margin-left: 0; text-align: left; background-color: brown;}
.one {margin-left: 0.5in; text-align: left; background-color: brown;}
.two {margin-left: 48px; text-align: left; background-color: brown;}
.three {margin-left: 4.8em; text-align: left; background-color: brown;}
.four {margin-left: 24%; text-align: left; background-color: brown;}
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#margin-properties" title="8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', and 'margin'">
<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>The five &quot;matches" below should be identical.</p>
<div>
<p class="zero">
<img width="48" alt="" src="support/swatch-white.png" height="10">x
</p>
<p class="one">
x
</p>
<p class="two">
x
</p>
<p class="three">
x
</p>
<p class="four">
x
</p>
</div>
</body>
</html>