<style>
div {
  background-color: green;
  width: 50px;
  height: 50px;
  white-space: nowrap;
}
.inlineBox {
  display: inline-block;
}
</style>
<div></div>
<div><div class=inlineBox style="margin-right: 50px;"></div><div class=inlineBox></div></div>
<div><div class=inlineBox style="margin-right: 50px;"></div><div class=inlineBox></div></div>
<div></div>
