body{ text-align: center; padding-top: 15%; } div{ display: inline-block; }