| <!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;} |
| .midalign {vertical-align: middle;} |
| </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 middles on the same alignment as |
| other blue rectangles on the line. |
| </p> |
| <p class="example"> |
| ÉÉÉ |
| <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="30"> |
| <span style="font-size: 250%;" class="no">xxx</span> |
| <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="50"> |
| ÉÉÉ |
| <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="10"> |
| <small class="no">xxx</small> |
| <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="20"> |
| ÉÉÉ |
| <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="65"> |
| ÉÉÉ |
| <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="35"> |
| <span style="font-size: 2em;" class="no">xxx</span> |
| <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="50"> |
| <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="midalign" height="50"> |
| <small class="no">xxx</small> |
| <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="15"> |
| <big class="no">xxx</big> |
| <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="90"> |
| ÉÉÉ |
| </p> |
| </body> |
| </html> |