CSS: How to align differently sized images in a line?

Posted by Sushi on Stack Overflow See other posts from Stack Overflow or by Sushi
Published on 2010-05-13T12:41:18Z Indexed on 2010/05/13 12:44 UTC
Read the original article Hit count: 113

Filed under:

I am trying to align differently sized images in a line using the vertical-align property as well as by keeping top:50%

Now it does solve the problem partially as all the images are vertically in the middle but due to the different sizes of the images they are not aligned "like pearls on a string"

I want to somehow make images go top:50% from the centre of the image not it's border.

© Stack Overflow or respective owner

Related posts about css