22 lines
1.0 KiB
HTML
22 lines
1.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: margin-left</title>
|
|
<style type="text/css">
|
|
p { color: navy; }
|
|
.seven { font: 15px/1 Ahem; margin: 1em 2em; width: 5em; }
|
|
.seven p { background: yellow; color: lime; }
|
|
.seven span { margin-left: -4em; background: red; color: orange; }
|
|
</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 class="criteria">The following two bars should be identical:</p>
|
|
<div class="seven">
|
|
<p>xx <span>xx</span></p>
|
|
</div>
|
|
<div>
|
|
<img alt="" src="support/swatch-white.png"><img alt="" src="support/swatch-orange.png"><img alt="" src="support/swatch-orange.png"><img alt="" src="support/swatch-lime.png"><img alt="" src="support/swatch-yellow.png"><img alt="" src="support/swatch-yellow.png"><img alt="" src="support/swatch-yellow.png">
|
|
</div>
|
|
</body>
|
|
</html> |