/ Published in: CSS
When you have a container with fixed height you can use line-height property to vertically center the content.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
line-height: 24px;
URL: http://cssglobe.com/articles/one_liners/line_height.html