There is a parent block, 600 pixels wide, there are 3 blocks of 200 pixels each with display: inline-block;
But for some reason, they do not fit, and between them some indents. margin - 0, padding - 0 ..
What are these indents? When float: there is no such thing, all 3 blocks arise one after another.
<div id="test-bg"> <div class="test-block">1</div> <div class="test-block">2</div> <div class="test-block">3</div> </div> #test-bg{ width: 600px; height: 200px; border: 1px solid red; margin: 5px auto; box-sizing: border-box; } .test-block{ width: 200px; height: 200px; display: inline-block; border:1px solid orange; box-sizing: border-box; }