No-Library (pure JS), HTML, CSS, JavaScript
6 examples with display:inline-block. And how to avoid the extra margin
jQuery 1.6, HTML, CSS, JavaScript