Manuls Manuls - 1 year ago 94
CSS Question

Parallax footer not working in Safari/Firefox

I was following this creating an 'under the rug' parallax footer? to create a parallax footer and when it is in Chrome all goes well, but in Safari and Firefox it doesn't. The thing is, I don't even have vertical scroll in those browsers and I don't know why.

I hope someone can help me. The URL is and the interesting code is this:

#wrapper {

border-bottom: 25px solid white;
background: url('img/fondo-test.jpg') no-repeat top left;
position: absolute;
border-right: 20px solid white;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
#footer {
margin-top: 10px;
z-index: -2;
color: white;
margin-left: -2px;

I searched everywhere and I can't find the reason why the footer doesn't appear in those browsers. Any idea about what the problem can be would be appreciated. Thanks!

Answer Source

Changing the position of the wrapper div from position: absolute; to position: relative; fixes it in Firefox. I don't have Safari to test it in that I'm afraid.