My goal is to create a matrix layout of 30 group member photos using HTML, CSS, and Bootstrap. Unfortunately, some of the photos are not aligning properly and are appearing in the wrong block, leaving some blocks empty. All the photos have the same aspect ratio. Below is a basic example block of code:
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="team-member">
<!-- Member Photo, Name & Position -->
<div class="member-photo">
<a href="#"><img alt="Name" src="Img.jpg"></a>
<div class="member-name"> Member_Name <span>style="width: -moz-max content;">Member_info</span>
</div>
</div>
</div>
</div>