In each of the following rows there are 7 boxes, containg text and an image with different vertical-align values: baseline, top, text-top, bottom, text-bottom, middle. The last box contains just text. Change font size to test with different heights of the boxes.
baseline | top | text-top | bottom | text-bottom | middle | just text | |
---|---|---|---|---|---|---|---|
line-height: normal | x pÈ |
x pÈ |
x pÈ |
x pÈ |
x pÈ |
x pÈ |
x pÈ |
line-height: 2 | x pÈ |
x pÈ |
x pÈ |
x pÈ |
x pÈ |
x pÈ |
x pÈ |
line-height: 0.5 | x pÈ |
x pÈ |
x pÈ |
x pÈ |
x pÈ |
x pÈ |
x pÈ |
Notes:
Related tests: