positioning a div bottom of the page and keep content above
Posted
by Andy
on Stack Overflow
See other posts from Stack Overflow
or by Andy
Published on 2010-03-27T16:56:53Z
Indexed on
2010/03/27
17:03 UTC
Read the original article
Hit count: 164
css
I have the following CSS which positions a div at the bottom of the page but how can i stop content flowing underneath it.
#footer { position:fixed; bottom:0; background:url(../images/bg-footer.jpg) top; z-index:200; height:34px; width:100%; line-height:34px; padding:0; font-size:11px; color:#fff; }
I cant add padding to the body or anything because i have a fullscreen background image in place as per this tutorial:
http://css-tricks.com/how-to-resizeable-background-image/
Any help would be appreciated.
© Stack Overflow or respective owner