1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html lang="en">
3 <head>
4 <title>CSS Test: Units: ex</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/003.html" type="text/html">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units">
8 <meta name="flags" content="ahem">
9 <style type="text/css">
10 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
11 .test { font: 250px/1 Ahem; margin: 0; color: navy; }
12 img { height: 0.25ex; vertical-align: bottom; }
13 </style>
14 </head>
15 <body>
16 <div class="control">Ahem_font_required_for_this_test.</div>
17 <p>The orange rectangle positioned between the following two long navy rectangles should be
18 exactly aligned with their top and bottom.</p>
19 <div class="test">p<img src="support/swatch-orange.png" alt=" This test needs images. ">p</div>
20 </body>
21 </html>