I have two siblings that both have display: inline-block. Why do I have to lower the sum to 97% to get them to sit next to each other? Ex: https://jsfiddle.net/kcscq271/1/
<div class="container">
<img src="./test.jpg">
<div class="child1">
Test Stuff
</div>
</div>
.container {
border: 1px solid red;
width: 300px;
}
.child1 {
display: inline-block;
width: 80%
}
img {
display: inline-block;
width: 20%;
}