tor-browser

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

overflow-applies-to-001-ref.xht (1174B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4  <head>
      5   <title>CSS Reference File</title>
      6   <link rel="author" title="Bert Bos" href="mailto:bert@w3.org" />
      7 
      8   <style type="text/css">
      9   #container {width: 20em; background: green; text-align: center;
     10     line-height: 1.2em}
     11 
     12   #child3 {display: inline}
     13   #grandchild3 {width: 20em; height: 1.2em; background: green;
     14     vertical-align: bottom}
     15 
     16   #child4 {table-layout: fixed; width: 20em; border-collapse: collapse}
     17   #grandchild4 {width: 20em}
     18   </style>
     19  </head>
     20 
     21  <body>
     22 
     23    <p>There should be no red.</p>
     24 
     25    <div id="container">
     26      <div id="child1">
     27        <div id="grandchild1">
     28 	 Block 1
     29        </div>
     30      </div>
     31 
     32      <div id="child2">
     33        <div id="grandchild2">
     34 	 Block 2
     35        </div>
     36      </div>
     37 
     38      <div id="child3">
     39        <img id="grandchild3" src="support/1x1-green.png" alt="green" />
     40      </div>
     41 
     42      <table id="child4">
     43        <tr>
     44 	 <td>
     45 	   <div id="grandchild4">
     46 	     Block 4a
     47 	   </div>
     48 	 </td>
     49        </tr>
     50        <tr><td>Block 4b</td></tr>
     51      </table>
     52    </div>
     53  </body>
     54 </html>