I have a container element which has a width of 560px and a height of 80px. Inside the container, I have 7 inline-block elements which are 80 x 80. (80 width by 80 height) But for some reason, the 7th inline-block element is getting cut off. (80 * 7 = 560)
#playerChoice {
width: 560px;
height: 80px;
}
#playerChoice > .choice {
width: 80px;
height: 80px;
display: inline-block;
}
<div id="playerChoice">
<div class="choice" id="choice1"></div>
<div class="choice" id="choice2"></div>
<div class="choice" id="choice3"></div>
<div class="choice" id="choice4"></div>
<div class="choice" id="choice5"></div>
<div class="choice" id="choice6"></div>
<div class="choice" id="choice7"></div>
</div>