ondrejko1
asked on
Using jquery to set a content area to height of page with sticky footer
http://www.playerspace.com/index.cfm/action/aboutus
I am using jquery to set a sticky footer where the content doesn't extend below the fold.
If I didn't there would be space under the footer to the bottom of the browser window.
Unfortunately on pages where this takes place, like the link included above, the content area has a gap between the bottom of the container and the sticky footer.
Can anyone tell me how I can set the height of the white content container to meet the footer with jquery on page load?
I am using jquery to set a sticky footer where the content doesn't extend below the fold.
If I didn't there would be space under the footer to the bottom of the browser window.
Unfortunately on pages where this takes place, like the link included above, the content area has a gap between the bottom of the container and the sticky footer.
Can anyone tell me how I can set the height of the white content container to meet the footer with jquery on page load?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Yeah I ended up adding that later.
Open in new window
this way the footer is sticky when the page loads and when the browser is resized.
hope it helps !