32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: Horizontal Formatting</title>
|
|
<style type="text/css">
|
|
p#ruled {
|
|
font: 40px/1 Ahem;
|
|
width: 360px; background-color: aqua; color: blue;
|
|
border-style: solid; border-color: fuchsia;
|
|
border-top-width: 0px; border-right-width: 40px; border-bottom-width: 0px; border-left-width: 40px;
|
|
padding-top: 0px; padding-right: 40px; padding-bottom: 0px; padding-left: 40px;
|
|
margin-top: 0px; margin-right: 40px; margin-bottom: 0px; margin-left: 40px;
|
|
}
|
|
</style>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#box-dimensions" title="8.1 Box dimensions">
|
|
<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 diagrams below should be identical.</p>
|
|
<div class="test">
|
|
<p id="ruled">X X X X X</p>
|
|
<p id="control">
|
|
<object data="support/css1test412a.png">
|
|
<p>The diagram above should be as described here: A 40px white
|
|
square (which will appear as a 40px indent from the left margin),
|
|
a 40px fuchsia square, six 40px aqua squares separated by five
|
|
40px blue squares, and a final fuchsia square.</p>
|
|
</object>
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html> |