I have encountered an issue with the image gallery in my HTML file. The images are displaying nicely, but on the second row, three of the images are slipping down. Here is a screenshot for reference:
https://i.sstatic.net/YmPdv.png
I attempted to address this problem using a flexbox layout, but I'm struggling to grasp how to effectively implement it. Just to clarify, the website will not be published as I do not have permission to use the images. This exercise is purely for educational purposes.
Here is the relevant code snippet:
section p {
margin-left: 5%;
}
section p iframe {
float: left;
margin-right: 2%;
}
…
<section>
…
…
</section>