AFAIK, there is no surefire method to do that. You can work with padding or line-height if you know that you will be able to control the text (line-height will allow you centered text, but only if it does not spill over two lines). You would have to change block's display to table-cell and then vertical-align property in CSS will work as expected.
___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.