Vertical aligning elements of random heights

This method centers elements of no specific height and it is dependant on a bug in IE that positions elements at 100% of their height rather than the parents height.

This results in the element being perfecty centered.

Modern browsers are given proper code, they are using display:table;

This is some random text

This is some random text This is some random text This is some random text

This is some random text This is some random text This is some random text This is some random text This is some random text

Test Text