hey guys, I have a web page in which I have an ad at the bottom of the page, now I want it that whenever a user scrolls down the page the ad should remain in the bottom only and also visible, somethin
I wanted a sticky footer to I followed this guide: http://www.cssstickyfooter.com/using-sticky-footer-code.html
I am trying to achieve the same effect the sticky footer does, but I 开发者_运维技巧have a problem which does not appear in any tutorial or question asked here: my footer\'s height is also dynamic.
This question already has answers here: Closed 11 years ago. Possible Duplicate: How do you get t开发者_高级运维he footer to stay at the bottom of a Web page?
I\'ve been trying a few different things and I\'m not sure how to make this footer stick to the bottom. The difficulty comes because there are a number of nested divs inside one another.
This question already has answers here: 开发者_开发问答 Closed 12 years ago. Possible Duplicate: How do you get the footer to stay at the bottom of a Web page?
Merged with When zooming in, how come the divs overlap each other? [duplicate]. 开发者_如何学运维
If the page doesn\'t have much content, like 300 pixels or so, the footer will appear in the middle of the page on a 1024 resolution.
here is the sample开发者_如何学运维 html: <div id = \"mainWrapperDiv\"> <div id = \"mainDiv\">
Here is the simple html: <div id=\"wrap\"> <div id=\"main\"> </div> </div> <div id=\"footer\">