19 lines
734 B
HTML
19 lines
734 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; }
|
|
.three { width: 5em; height: 4em; background: red; }
|
|
.three p { color: white; background: white; }
|
|
.three span { margin-right: 4em; background: red; color: green; }
|
|
</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 square below:</p>
|
|
<div class="three">
|
|
<p>xx xx <span>xx xx</span> xx xx</p>
|
|
</div>
|
|
</body>
|
|
</html> |