Return to Snippet

Revision: 38408
at January 1, 2011 03:17 by blueocto


Initial Code
line-height: 24px;

Initial URL
http://cssglobe.com/articles/one_liners/line_height.html

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

Initial Title
Vertical centering with line-height

Initial Tags

                                

Initial Language
CSS