There are multiple ways to do it, see the following article: http://phrogz.net/CSS/vertical-align/
My favorite way is to use display: table;
(on container) and display: table-cell
combined with vertical-align: middle
(on items itself) as shown in this fiddle: