I'm having an issue with displaying posts one under the other. They are showing up one by one as intended, but not one under one. Here is a visual representation:
In the image provided, you can see that there is a gap between the 1st and 4th post. I want to eliminate that gap. I attempted using vertical-align:top
but it didn't solve the problem. When I tried using float:left
, the layout changed like this:
I have searched for solutions on various platforms, including Stack Overflow, but none of them seem to work for my case.
.social-links {
width:350px; display:inline-block; vertical-align:top; margin:5px;
}
<div class="social-links" >
<iframe some-links-based-on-posts></iframe>
</div>
For better understanding, here's the link to the page: ebosscanada.com/all-social-links/