Edit in JSFiddle

.container {
	line-height: 100px;
	background-color: #7396a1;
    padding: 0 30px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}
<div class="container">I'm aligned vertically!</div>