* { margin: 0; padding: 0; font-size: 0; } #container { margin: auto; text-align: center; border-left: 2px solid gray; border-right: 2px solid gray; } .entry { display: inline; white-space: nowrap; width:200px; height: 200px; vertical-align: top; }