The Anti-hero of CSS Layout - "display:table" | colintoh.com
This is perhaps the most common use-case for display:table. With it, you can achieve a true vertical alignment (right in the middle) for elements with dynamic height. There is another shorter way of vertical aligning a element that might interest you:...