Vertically Centering Multi-line Text

Found a great article that demonstrates vertically centering multiline text.  It uses display:table and display:table-cell among some IE hacks.

Found a better post on stack overflow that does this.  The idea is to have an outer div with a specific height and the same line height.  Then a span inside to define your true line height.


keywords: css vertical center text

Tagged with: ,

Leave a Reply

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