tor-browser

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

vertical-align-121.xht (1250B)


      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: vertical-align: top</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/" /> <!-- 2016-06-01 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/vertical-align/001.html" type="text/html"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" />
      9   <link rel="match" href="vertical-align-121-ref.xht" />
     10 
     11   <meta name="flags" content="ahem" />
     12   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13   <style type="text/css">
     14    div { color: navy; text-align: center; width: 6em; font: 30px/1 Ahem; }
     15    span { font-size: 2em; }
     16    .bottom { border-bottom: solid blue; }
     17    .bottom span { vertical-align: bottom; }
     18    .top span { vertical-align: top; }
     19   </style>
     20  </head>
     21  <body>
     22 
     23   <p>There should be a plus sign with a blue line traversing through its middle.</p>
     24   <div class="bottom">x<span>X</span>x</div>
     25   <div class="top">x<span>X</span>x</div>
     26  </body>
     27 </html>