Return to Snippet

Revision: 7684
at August 6, 2008 12:35 by FlashJunior


Updated Code
#footer{
	position:fixed;
	left:0px;
	bottom:0px;
	height:20px;
	width:100%;
	background:#999;
}
/* For ie 6*/
* html #footer{
	position:absolute;
	top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
}

Revision: 7683
at August 6, 2008 11:24 by FlashJunior


Initial Code
#footer{
	position:fixed;
	left:0px;
	bottom:0px;
	height:20px;
	width:100%;
	background:#999;
}
/* For ie 6*/
* html #footer{
	position:absolute;
	top:expression((0-(footer.offsetHeight-2)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
}

Initial URL
http://www.flashjunior.ch/school/footers/fixed.cfm

Initial Description
A cool script for fixed Footers. Works with i6,i67,all mozilla browsers and safari.

Initial Title
Position Fixed Footer whitout JavaScript

Initial Tags
template

Initial Language
CSS