EugenePaliev
Programmer
Hi people!
The question is How to vertically align text in a DIV using CSS? I have DIV element and some text inside it. Text is top aligned; I want it to be middle aligned. Using style { vertically-align: middle; } applied to div or text doesn't work. The only thing I could make is to vertically align image inside text (both are inline elements), but I need to align text inside DIV element (inline element inside block element). I can remember I could achieve this before but have no luck at present...
Your help is very appreciated!!!
Good Luck!![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
The question is How to vertically align text in a DIV using CSS? I have DIV element and some text inside it. Text is top aligned; I want it to be middle aligned. Using style { vertically-align: middle; } applied to div or text doesn't work. The only thing I could make is to vertically align image inside text (both are inline elements), but I need to align text inside DIV element (inline element inside block element). I can remember I could achieve this before but have no luck at present...
Your help is very appreciated!!!
Good Luck!