In post <M93fb.39181$ >
shank said...
> <div style="display:table; width:300px;">
> <div style="display:table-row; width:100%;">
> <div style="display:table-cell; vertical-align:bottom; height:200px;
> text-align:center; border-style:solid; border-color:#FF0000;
> border-width:2px;">
> mumbo jumbo
> </div>
> </div>
> </div>
>
> Did I miss something? On my screen the "mumbo jumbo" is still at the top. I
> added the table-row <div> thinking that was the problem.
table-row is not required. "missing" parts are assumed.
this:
div{height:200px;width:100%;display:table;border:1 px solid red;text-align:center;}
p{display:table-cell;vertical-align:bottom;}
<div><p>mumbo jumbo</p></div>
looks like this:
http://usenet.alt-html.org/screencap332.png [1k]
it gives the same visual appearance of
<table width="100%" border="1">
<tr><td height="200" valign="bottom" align="center">mumbo jumbo</td></tr>
</table>
--
03/October/2003 10:17:33 am