blob: afe6811d4af43e50b2ef71e5b9a95f0ac360467b [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: margin</title>
<style type="text/css">
.one, .two { margin: 1em; }
p { color: navy; }
.one { font: 15px/1 Ahem; width: 7em; background: red; }
.one div { color: green; background: lime; }
.one span { margin: 1em; background: orange; color: yellow; }
</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'">
</head>
<body>
<p>The two bars below should be identical:</p>
<div class="one"><div> x<span> x </span>x </div></div>
<div class="two">
<img alt="" src="support/swatch-green.png"><img alt="" src="support/swatch-lime.png"><img alt="" src="support/swatch-orange.png"><img alt="" src="support/swatch-yellow.png"><img alt="" src="support/swatch-orange.png"><img alt="" src="support/swatch-lime.png"><img alt="" src="support/swatch-green.png">
</div>
</body>
</html>