On my website, I can't get the dancing silhouette in the background to stick to the bottom of the page on every monitor. When I googled the problem, all the tutorials taught me how to stick a horizontal footer on the bottom, but not a layered (with z-index) element. Is there any way to do this?
Here's the url: http://xscapenightlife.webs.com
Here's what I have so far:
HTML
CSS
Here's the url: http://xscapenightlife.webs.com
Here's what I have so far:
HTML
Code:
<div class="container">
<div class="bgdancer"></div>
<!--content -->
</div>
Code:
.container {
margin-left: auto;
margin-right: auto;
width: 905px;
min-height: 100%;
padding: 0px 100px 0px 100px;
background: ;
}
.bgdancer {
background: transparent url('dancer4.gif') no-repeat;
width: 100%;
min-height: 100%;
position: fixed;
bottom: 0px;
left: 0px;
z-index: -10;
opacity: 0.5;
filter: alpha(opacity=50);
}