1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
4 <title>CSS 2.1 Test Suite: vertical-align</title>
5 <style type="text/css">
7 p.example { font: 15px/1 Ahem; color: blue; background: white url(support/square-white.png); border: 1px solid silver; padding: 0.5em; margin: 1em; }
10 small {font-size: 10px;}
11 .midalign {vertical-align: middle;}
13 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#q26" title="10.8.1 Leading and half-leading">
17 Change your window size. However the lines wrap, the blue
18 rectanglues should always have their middles on the same alignment as
19 other blue rectangles on the line.
23 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="30">
24 <span style="font-size: 250%;" class="no">xxx</span>
25 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="50">
27 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="10">
28 <small class="no">xxx</small>
29 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="20">
31 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="65">
33 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="35">
34 <span style="font-size: 2em;" class="no">xxx</span>
35 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="50">
36 <span style="font-size: 150%;" class="no">xxx <span style="font-size: 250%;">xxx</span> xxx</span>
37 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="50">
38 <small class="no">xxx</small>
39 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="15">
40 <big class="no">xxx</big>
41 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="90">