blob: a484e1896320e8d558c594001f31018f7d9b790d [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">
.test { width: 10em; margin: 1em 10em; }
.test p { margin-left: -5em; color: yellow; background: navy; }
.control { width: 15em; margin: 1em 5em; color: yellow; background: navy; }
</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/visudet.html#the-width-property" title="10.2 Content width: the 'width' property">
</head>
<body>
<p>The next two bars should be identical:</p>
<div class="test"> <p> TEST </p> </div>
<div class="control"> TEST </div>
</body>
</html>