Shown below is a snippet of the HTML code I am currently working with:
div.Navbar {
margin-left: 10px;
margin-right: 10px;
}
.icons {
height: 300px;
}
<div class="NavBar">
<img src="images/ThumbNails/Conflict.jpg" class="icons" style="float: left; width: 30%; margiwn-right: 1%; margin-bottom: 0.5em;" />
<img src="images/ThumbNails/internationalN.jpg" class="icons" style="float: center; width: 30%; margin-right: 1%; margin-bottom: 0.5em;" />
<img src="images/ThumbNails/Politics.jpg" class="icons" style="float: right; width: 30%; margin-right: 1%; margin-bottom: 0.5em;" />
</div>
Despite my attempts with CSS and HTML to wrap divs around each individual image, the layout gets messed up... I've consulted resources like stack overflow for guidance on this, but it still causes issues.
In short: with the existing code, the images align perfectly, making it challenging to center links underneath each image.