centering text vertically in div

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Can anyone tell me how to center a random amount of text vertically in
a div so it is centered like it would be in a table cell by default?
I do not know if JavaScript is applicable here, but I do not want to
use JavaScript, since it can be turned off.  I do not want to have to
tell the reader to turn it on, either.  Thanks.

Re: centering text vertically in div

Quoted text here. Click to load it

It's not possible as far as I know without using display: table-cell.
The only way to get IE to approximate the correct behaviour of display:
table-cell is to use a <td>. So if you need IE support, use a table.

Site Timeline