| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| <html> |
| <head> |
| <title>CSS 2.1 Test Suite: line-height</title> |
| <style type="text/css"> |
| .test { font: 24px Ahem; background: teal; color: aqua; width: 4em; padding: 0.5em 0 0.5em 1em; border: solid navy; margin: 0.5em; line-height: 0.5in; } |
| .control { font: 24px/1 Ahem; background: teal; color: aqua; width: 5em; padding: 0; border: solid navy; margin: 0.5em; } |
| </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>The two blocks below should be identical:</p> |
| <div class="test"> X X X X </div> |
| <pre class="control"> |
| X X |
| |
| X X |
| </pre> |
| </body> |
| </html> |