Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
CSS Fixed Footer
SUBMITTED BY:
Guest
DATE:
May 2, 2013, 6:04 p.m.
FORMAT:
CSS
SIZE:
475 Bytes
Raw
Download
Tweet
HITS:
1126
Go to comments
Report
#
footer
{
position
:
fixed
;
left
:
0
px
;
bottom
:
0
px
;
height
:
30
px
;
width
:
100
%
;
background
:
#999
;
}
/* 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'
);
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus