Vertical align via table display

1
2
/* In order to verticaly display some content with unknown height, you need two have two DOM elements, one parent and one child, and Voilà!*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Easy vertical-align text or images thanks to this trick.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.