﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>CSS 2.1 Test Suite: clear</title>
  <style type="text/css">
   div { font: 15px/1 Ahem; color: green; background: red url(support/css1test5526.png) no-repeat; width: 20em; border: solid black; }
   p { margin: 1em 0; }
   .left {float: left;}
   .right {float: right;}
   .one {clear: left;}
   .two {clear: right;}
   .three {clear: both;}
   .four {clear: none;}
  </style>
  <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats">
  <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#flow-control" title="9.5.2 Controlling flow next to floats: the 'clear' property">
 </head>
 <body>
  <p>There should be a big green box below.</p>
  <div>
   <img alt="[Image]" src="support/swatch-green.png" class="left" height="50"> 
   <p>
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
   <img alt="[Image]" src="support/swatch-green.png" class="left" height="50"> 
   <p class="one">
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
   <img alt="[Image]" src="support/swatch-green.png" class="right" height="50"> 
   <p class="two">
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
   <img alt="[Image]" src="support/swatch-green.png" class="left" height="50">
   <img alt="[Image]" src="support/swatch-green.png" class="right" height="50"> 
   <p class="three">
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
   <img alt="[Image]" src="support/swatch-green.png" class="left" height="50">
   <img alt="[Image]" src="support/swatch-green.png" class="right" height="50"> 
   <p class="four">
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
    xxxxx xxxx xxx xx x xx xxx xxxx
   </p>
  </div>
 </body>
</html>