﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>CSS 2.1 Test Suite: vertical-align</title>
  <style type="text/css">
   p {font-size: 12pt;}
   p.example { font: 15px/1 Ahem; color: blue; background: white url(support/square-white.png); border: 1px solid silver; padding: 0.5em; margin: 1em; }
   .no {color: silver;}
   big {font-size: 20px;}
   small {font-size: 10px;}
   .ttopalign {vertical-align: text-top;}
  </style>
  <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#q26" title="10.8.1 Leading and half-leading">
 </head>
 <body>
  <p class="explain">
   Change your window size. However the lines wrap, the blue
   rectanglues should always have their tops on the same alignment as
   other blue rectangles on the line.
  </p>
  <p class="example">
   xxx
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="30">
   <span style="font-size: 250%;" class="no">xxx</span>
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="50">
   <big class="no">xxx</big>
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="10">
   <small class="no">xxx</small>
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="20">
   xxx
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="65">
   <span style="font-size: 2em;" class="no">xxx</span>
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="35">
   xxx
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="30">
   <span style="font-size: 150%;" class="no">xxx <span style="font-size: 250%;">xxx</span> xxx</span>
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="50">
   <small class="no">xxx</small>
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="15">
   <big class="no">xxx</big>
   <img alt="[Image]" src="support/swatch-blue.png" class="ttopalign" height="90">
   xxx
  </p>
 </body>
</html>