tor-browser

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

floats-103.xht (1097B)


      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: CSS Floats: Nested floats (some inline content after nested float)</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-07-01 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/float/003-demo.html" type="text/html" />
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
      9 
     10   <style type="text/css">
     11    div { border: 1px solid teal; padding: 4px; margin: 4px; }
     12    .left { float: left; }
     13    .right { float: right; }
     14    .size { width: 150px; height: 150px; }
     15   </style>
     16  </head>
     17  <body>
     18 
     19   <p>The content after should be to the right of the inner square,
     20      and both it and the inner square should be surrounded by an outer box.</p>
     21 
     22   <div class="left"><div class="size left"></div> content after</div>
     23 
     24  </body>
     25 </html>