c61-ex-len-000

Length Units

WeasyPrint

This browser

Flags
ahem

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Test: Length Units</title>
 5   <meta name="flags" content="ahem">
 6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#length-units">
 7   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 8   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 9   <style type="text/css">
10    p { color: navy; }
11    table { margin: 1em 5em; }
12    td { padding: 4px; vertical-align: top; }
13    .control { font: 40px Ahem; color: navy; }
14    .test { font: 40px Ahem; border-top: 1ex solid navy; width: 1em; }
15   </style>
16   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" title="4.3.2 Lengths">
17  </head>
18  <body>
19   <p>The two blocks below should have the same height.</p>
20   <table>
21    <tr>
22     <td>
23      <div class="control"> É </div>
24     </td>
25     <td>
26      <div class="test"> </div>
27     </td>
28    </tr>
29   </table>
30  </body>
31 </html>