Below is the HTML and CSS code that I am working with:
.divOuter {
width: 50%;
margin: 0 auto;
}
.divInner1,
.divInner2,
.divInner3 {
border: 1px solid;
float: left;
width: 150px;
height: 150px;
margin-left: 3px;
margin-right: 3px;
margin-top: 50px;
text-align: center;
<div id="logo">
<img src="http://i.cubeupload.com/jmdKlW.png"></img>
</div>
<div id="title">
<h3>Who's watching</h3>
</div>
<div class="divOuter">
<div class="divInner1">First DIV</div>
<div class="divInner2">Second DIV</div>
<div class="divInner3">Third DIV</div>
</div>
Although I attempted to use the outer div to center everything, I encountered an issue as shown in this image: https://i.sstatic.net/akJEc.png
The squares in the middle are not properly centered. For a correct display, please refer to xat.me/madses1996
My goal is to have the squares lined up next to each other.