tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

floats-029.xht (1295B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Content flowing around floated elements</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
      7         <link rel="match" href="floats-029-ref.xht" />
      8 
      9         <meta name="assert" content="Floats shift the current line and surrounding content to flow along its side unless clear is specified." />
     10         <style type="text/css">
     11             #span1
     12             {
     13                 background-color: blue;
     14                 float: left;
     15                 height: 1in;
     16                 width: 1in;
     17             }
     18             body
     19             {
     20                 margin: 0;
     21             }
     22             div div
     23             {
     24                 clear: both;
     25             }
     26         </style>
     27     </head>
     28     <body>
     29         <div>
     30             <span>Filler Text</span>
     31             <span id="span1"></span>
     32             <div></div>
     33         </div>
     34         <p>Test passes if the blue square is in the top left corner of the page and the words "Filler Text" are directly to the right of the square.</p>
     35     </body>
     36 </html>