blob: 17e61414c4c043d3ebfd395b8c23ccaea11a9a1d [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 &quot;D".
(Boxes labelled &quot;A" should be in the first column; boxes labelled
&quot;B" should be in the second; arrows indicate the correct
<p class="left"> ⇦ A 1 </p>
<p class="left"> ⇦ B 2 </p>
<p class="left"> ⇦ A 3 </p>
<p class="right"> B 4 ⇨ </p>
<p class="left"> ⇦ A 5 </p>
<p class="right"> B 6 ⇨ </p>
<p class="right"> B 8 ⇨ </p>
<p class="left"> ⇦ A 7 </p>
<p class="left"> ⇦ A 9 </p>
<p class="left"> ⇦ B 10 </p>