blob: 1a4907197609bd5b8bd6a7ec1ef9a1c055c9aeed [file] [log] [blame]
<title>CSS 2.1 Test Suite: Horizontal Formatting</title>
<script src="../resources/ahem.js"></script>
<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;
<link rel="help" href="" title="8.1 Box dimensions">
<link rel="help" href="" title="8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', and 'margin'">
<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>