[thelist] Send footer to bottom of screen

Burhan Khalid burhankhalid at members.evolt.org
Wed Apr 3 13:25:00 CST 2002


If you use CSS, its an easy proposition :

(from my personal site) :

#maincontent
{
		width:53%;
		float:left;
		background:#fff;
		padding-bottom:10px;
}
#boxcredits    {
	border-top: black 1px dashed;
	background-color:#fff;
	text-align:center;
	padding-top:10px;
}

and in the html :

<div id="maincenter">
	blah blah blah

	<div id="boxcredits">
		 blah blah blah
	</div>
</div>
This way, the creditsbox will always be at the bottom of your content, and
will "float" depending on the size of your content. Of course, if your
content isn't enough to fill the page, you could always br pad your content
div.

You can see the result @ members.evolt.org/burhankhalid
hth,
Burhan Khalid




More information about the thelist mailing list