How to remove space under images?
Posted
by
user2831652
on Stack Overflow
See other posts from Stack Overflow
or by user2831652
Published on 2013-10-25T21:51:23Z
Indexed on
2013/10/25
21:53 UTC
Read the original article
Hit count: 159
So here's my problem, there's a small white space showing up under the pictures on my tumblr, but the space only shows up under photosets, not under photos.
I have on my CSS:
#post{padding:10px;}
#post img{display:block;}
And then on my html:
{block:Posts}
<div id="post">
{block:Photo}<img src="{PhotoURL-500}"/>{/block:Photo}
{block:Photoset}{Photoset-500}{/block:Photoset}
</div>
{/block:Posts}
But the photoset adds a 3px space under the images, turning the padding to 13px for no reason. Can someone help me figure out this?
© Stack Overflow or respective owner