Posted By

blueocto on 01/01/11


with line-height vertical centering

Versions (?)

Vertical centering with line-height

 / Published in: CSS


When you have a container with fixed height you can use line-height property to vertically center the content.

  1. line-height: 24px;

Report this snippet  

You need to login to post a comment.