Previous Message
Next Message

Re: [css-d] Making a div flush to the bottom of the page

Sent by Sven Berg Ryen on 25 April 2002 06:06


On 24.04.2002 17:54, "Ian Leckie" [EMAIL-REMOVED]> wrote:

>> This puts the footer at the end of the document flow, but if there is little
>> content on the page, it's still half way up the page.
> 
> really? doesn't seem to work in mozilla/ns6 (table shrinks to fit content)
> or opera (all three rows are approx. the same height)... see a simplified
> test case here:
> 
> <http://members.evolt.org/checkmate/100_percent_table_test.html>

If you're going for a table solution, this may be what you are looking for:

<http://www.maxus.no/css/header_footer.html>

Note that I haven't made any effort to hack around the padding bug in
IE/win. The layout, though, should force the footer to the bottom in all
browsers*. Yes, I know it involves nesting tables, and yes, the entire HTML
stream needs to be downloaded for the browser to start rendering..

I guess you'll have to sacrifice something in order to get the footer
aligned at the very bottom in all browsers..

* all browsers capable of displaying tables, that is

HTH,
-Sven Ryen
Previous Message
Next Message

Message thread:

Possibly related: