PDA

View Full Version : Extending Table to Bottom of Page


Corey
08-19-2006, 09:15 PM
Well what I'm trying to do, is make it so that my table extends to the bottom of every browser's page, no matter how big or what resolution the page is set at, and no matter how much content is in the table. Is there a way to do this?

Basically, I have a table for a banner.
Then another for the navigation.
Then another for all the content (this is the one I want to extend no matter how much content).
Then another table for the copyright.

Like this:

BANNER
NAVIGATION
CONTENT AREA
------------------
------------------
------------------
COPYRIGHT

I want to make the copyright table be at the bottom of the page, no matter what brower or how much content there is. Though, I don't want that table to expand, I want the CONTENT table to expand no matter how much content.

This is probably very confusing, so I hope somebody will understand what I want to know. If you need, I can post all my HTML and CSS.

Thanks in advance for all your help.

domedia
08-19-2006, 11:10 PM
Placing an element always on bottom is not easy, you'll have to force height of the viewport somehow. A explanation is here:
http://www.sitepoint.com/forums/showpost.php?p=1239966&postcount=3

chriskq
08-21-2006, 03:48 AM
you could make your globalwrap div background repeat to the bottom of the browser.
see:- www.mcode.com.au.

figure out how its done there. (only thru css, so shouldnt be hard at all)

Corey
08-22-2006, 12:53 AM
thanks, i'll try that.