posted on:May 14, 2009
Vertically Center MultiLined Text
If you only have a single word or a single line of text, there is a clever way to vertically center it in a block with CSS. Set the line-height of that text to be equal to the height of the box. Works great, but is a major fail if that text needs to wrap.
Enjoyed the article?
Then don't miss our next one! Subscribe to our RSS feed or share it with your friends.
Comments (No Comments)
No comments yet.
Sorry, the comment form is closed at this time.