I have some div's of a certain height (14 px). How can I make sure that text inside the div appears in the middle (vertically)? I tried valign="middle" but didn't work.
'Relative' didn't work and "position: absolute; top: 50%;" did affect the vertical position more than 50% but after changing the percentage I got it the way I want it.
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.