vertical-align, images and line-height

In the following test cases, six images (colored rectangles) are vertically positioned with the following values for vertical-align:

First case, line-

gQfxÈspacer spacer spacer spacer spacer spacer

Second case, line-normal

gQfxÈspacer spacer spacer spacer spacer spacer

Third case, line-.5

gQfxÈspacer spacer spacer spacer spacer spacer

Fourth case, line-.5, without text-top, text-bottom

gQfxÈspacer spacer spacer spacer

Fifth case, line-.5, without top, bottom, ...

gQfxÈspacer spacer

Sixth case, line-.5, without images

gQfxÈ

Notes:

Related tests:

CSS tests home

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.