Posted by Ben C on 06/12/07 16:13
On 2007-06-12, Eric C. <eric@notarealaddy.com> wrote:
> Hello
>
> In the old days, in quirks mode, it was possible to get content to
> appear at the bottom of the browser window by doing this:
>
><table width="100%" height="100%">
> <tr valign="top">
> <td>foo</td>
> </tr>
> <tr valign="bottom">
> <td>bar</td>
> </tr>
></table>
>
> Is there a way to do this using div elements and CSS?
Use position: absolute in conjunction with bottom: 0 on a box near the
top of the document tree (so that the viewport is its containing block).
e.g.
<body>
...
<div style="position: absolute; bottom: 0">bar</div>
</body>
Navigation:
[Reply to this message]
|