How can I vertically center text in an element?
For example, from this:
I know I can specify the
height property on the text and then use
position: absolute; top: 0; bottom: 0; margin: 0;
but I don't want this because the
height of the text is variable.