David Stockdale's Scrapcode

Fixing Footer To Bottom Of Screen

After a long absence (caused by a month long battle with the Rona) I have returned with a few more minor programming trivia that I drafted months ago but never got around to publishing.

The following code affixes the Beans footer to the bottom of the window even when you scroll.

/**
 * Make footer fixed at bottom
 * of the screen.
 */
.tm-footer {
	position:fixed!important;
	bottom:0px;
	width:100%;
}

Leave a Reply