My bad, use float instead of inline-block, gaps between inline-block elements are quite difficult to fix... ( http://css-tricks.com/fighting-the-space-between-inline-block-elements/ )