blob: b8e8ea0d374d3e9692e8e82cec6b4f4a28bb374a [file] [log] [blame]
<title>CSS 2.1 Test Suite: Floating Elements</title>
<style type="text/css">
p { color: navy; }
div { margin: 1em; width: 20em; }
div p { margin: 0.25em; border: solid blue; padding: 0.25em; width: 7em; background: navy; color: white; }
div p.left { float: left; }
div p.right { float: right; text-align: right; }
<link rel="help" href="" title="9.5 Floats">
<p>The blue boxes below should be in numeric order and form a
backwards &quot;D". (Boxes labelled "A" should be in the first column;
boxes labelled &quot;B" should be in the second; arrows indicate the
correct alignment.)</p>
<p class="right"> B 2 ⇨ </p>
<p class="right"> A 1 ⇨ </p>
<p class="right"> B 4 ⇨ </p>
<p class="left"> ⇦ A 3 </p>
<p class="right"> B 6 ⇨ </p>
<p class="left"> ⇦ A 5 </p>
<p class="left"> ⇦ A 7 </p>
<p class="right"> B 8 ⇨ </p>
<p class="right"> B 10 ⇨ </p>
<p class="right"> A 9 ⇨ </p>