How the fuck does vertical align work?

I normally don’t curse online since it gets saved to the ether of the universe and will forever haunt me if I try to go into politics…but this question probably gets asked on google a thousand times a day and I want some search engine traffic. So there.

Anyway, read this: http://css-tricks.com/vertically-center-multi-lined-text/

And remember to give the table a height if it’s still not working. It makes sense, if your table has a height, the the browser can calculate how far down to alight the text, if it doesn’t have a height set, then it can’t tell how far down the text needs to go in order to vertically center it.

Boom.

2 thoughts on “How the fuck does vertical align work?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.