I'm struggling with CSS and bootstrap as I have limited knowledge in this area. I have multiple divs on a page that I want to align based on our old website design.
The problem I'm facing is that one div is larger on the right, causing a lot of white space on the left side: (see screenshot)
Here is my UI code:
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e6848989929592948796a6d3c8d4c8d5">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet"/>
<div class="row">
<div class="col-6 col-sm-6">
<h5><b>PRODUCER MAILINGS AND IMPORTANT UPDATES</b></h5>
<hr class="fa-border border-primary border-1" />
<ul class="list-unstyled">
<li onclick="location.href='mydoc'"><img border="0" src="../images/icons/pdf.jpg" /> Name1</li>
<li onclick="location.href='mydoc'"><img border="0" src="../images/icons/pdf.jpg" /> name goes here</li>
</ul>
</div>
<div class="col-6 col-sm-6">
<h3><b>XXXXXX Mitigation Credits</b></h3>
<hr class="fa-border border-primary border-1" />
<ul class="list-unstyled">
<li onclick="location.href='mydoc'"><img border="0" src="../images/icons/pdf.jpg" /> name goes here</li>
...
</ul>
Tried rearranging elements and experimenting with various CSS techniques found through Google searches