blob: db05bf4cec5f962900e384f7ccd6cf39f3305c90 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: margin-right</title>
<style type="text/css">
body { color: navy; }
div { font: 10px/1 Ahem; width: 200px; color: orange; }
img { vertical-align: bottom; }
.zero {margin-right: 0; text-align: right; background-color: brown;}
.one {margin-right: 0.5in; text-align: right; background-color: brown;}
.two {margin-right: 48px; text-align: right; background-color: brown;}
.three {margin-right: 4.8em; text-align: right; background-color: brown;}
.four {margin-right: 24%; text-align: right; 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">
x<img width="48" alt="" src="support/swatch-white.png" height="10">
</p>
<p class="one">
x
</p>
<p class="two">
x
</p>
<p class="three">
x
</p>
<p class="four">
x
</p>
</div>
</body>
</html>