I use a sticky footer as described in:
I have a paragraph with a link that I want to be at the bottom of the page, so I put it in .footer.
The problem is that the link is not available in Firefox 3.5.2 and Chrome, it is behind .push. It works in IE7 and IE8, but I think it is not so much.
I played with z-indexes, but this does not work. By the way, I need a position: relative in #page to place some things inside this div.
Is there a way to make the link in .footer available in all browsers?
Relevant parts of the code:
CSS
html, body {
height: 100%;
}
#page {
width: 962px;
text-align: left;
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -90px;
position: relative;
}
.push, .footer {
height: 90px;
}
.push {
}
.footer {
background: #181f18 url(../images/background-top.png) no-repeat center bottom;
}
HTML
<div id="page">
<div id="wrapper">
<div id="contents">bla bla</div>
</div>
<div id="footer">bla bla</div>
<div class="push"></div>
</div>
<div class="footer">
<p><a href="http://www.some-site.com/">Some Text</a></p>
</div>