Centering vertically is very elusive in CSS. You can try to use the line-height property and set it to the height of the containing element. But this only works for a single line of text.
There are other far more complex ways of accomplishing it, but very few work reliably across all browsers.
Also if you use an image you can use the vertical_align property on it, but only if its an image.
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
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.