19 lines
762 B
HTML
19 lines
762 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: margin-right</title>
|
|
<style type="text/css">
|
|
div { font: 15px/1 Ahem; margin: 1em; background: yellow; }
|
|
.two { width: 13em; height: 3em; background: green; }
|
|
.two p { color: white; background: white url(support/swatch-red.png) 3em 0 no-repeat; }
|
|
.two span { margin-right: 4em; color: white; }
|
|
</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>There should be a green horizontal bar below:</p>
|
|
<div class="two">
|
|
<p>x <span>xxxxx xxxxx</span> x</p>
|
|
</div>
|
|
</body>
|
|
</html> |