Page 1 of 1

Help to place text middle vertical in a DIV

Posted: Tue Feb 23, 2010 3:48 am
by Rippie
Hi everyone,

I have a DIV with a height of 25px. How do i place my text in the middle of that div ? Would i be using line-height 25px ?

Rippie

Re: Help to place text middle vertical in a DIV

Posted: Tue Feb 23, 2010 2:49 pm
by kaszu
Don't know if you would, but I would.

Re: Help to place text middle vertical in a DIV

Posted: Tue Feb 23, 2010 5:03 pm
by pickle
Ya, that's the easiest.