Align Images without spacing horizontally and veritcally
I have a group of 4 images that I’m trying to align vertically and horizontally.
I cant get ride of a a small vertical spacing between them.
Please check out the issue reproduced in
<a href="http://jsfiddle.net/agconti/cB2NM/" rel="nofollow">Fiddle</a>
It seems pretty simple, but I haven’t been able to get ride of spacing other than manually specify the height to
100px, which isn’t responsive and so not viable.
vertical-align:top on the
img elements will remove the gap. The default is
As a side note,
middle work too.
display:block to the
img elements works too. (example)