[thelist] CSS : Aligning XHTML content to bottom of page

Sam sam at sam-i-am.com
Tue Sep 17 15:51:01 CDT 2002

does the content you are positioning at the bottom have a known height?
I have some notes on a similar quest I undertook a while back at:


XHTML was not a requirement, but as my solution was ultimately
CSS-driven, it could be accomodated.


Jason Hepi wrote:
> I try as much as possible to produce table-less layouts in my
> projects/work - even more so when combined with an XHTML DOCTYPE, however
> some designs that I receive necessitate aligning content to the bottom of
> the page.
> I could set position: absolute; bottom: 10px; for the content I wish to
> align but then if the user views the page on a low screen resolution the
> positioned content will overlap.
>   body {
>   position: absolute;
>   top: 0; left: 0;
>   }
>   body, #mytable {
>   margin: 0;
>   padding: 0;
>   width: 100%;
>   height: 100%;
>   }

More information about the thelist mailing list