i desgined a webshop with oscommerce. you can see here
The footer to stick to the bottom, but not fixed. The css is
#footer_wrapper {
/* position: absolute; */
bottom: 0;
clear: both;
width: 100%;
height: 400px;
background-color: #0d0d0d;
margin: 0;
}
But, when i change position to “absolute” the footer jumping up over the content.
See the example for the product-list.
Whats wrong?
3
Answers
In order for
position: absolute;
to work, the parent element of the#footer_wrapper
should haveposition: relative;
add position in
#bodyWrapper
position: relative;
&padding-bottom
to your footerheight
replace this css
This works for me. while setting height 100% to body, you have to set all the parent divs with the height of 100%.