tor-browser

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

floats-008.xht (1221B)


      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: Floats and block box flow</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="clear-float-004-ref.xht" />
      8 
      9         <meta name="assert" content="Block boxes flow vertically as if floats don't exist." />
     10         <style type="text/css">
     11             div
     12             {
     13                 height: 1in;
     14                 width: 1in;
     15             }
     16             #div1
     17             {
     18                 background-color: orange;
     19             }
     20             #div2
     21             {
     22                 background-color: blue;
     23                 float: left;
     24             }
     25             #div3
     26             {
     27                 background-color: red;
     28             }
     29         </style>
     30     </head>
     31     <body>
     32         <p>Test passes if the orange square is positioned above the blue square and if there is no red.</p>
     33         <div id="div1"></div>
     34         <div id="div2"></div>
     35         <div id="div3"></div>
     36     </body>
     37 </html>