The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
I’ve tried using the sticky footer (recommended on the gen discussion page http://ryanfait.com/resources/footer-stick-to-bottom-of-page/ )
however when i put it into my site it goes astray on the following pages http://www.housecallphysio.co.uk/pages/accu.php and http://www.housecallphysio.co.uk/pages/price.php.
there is too much code to copy here so i would be grateful if somebody could have a look and tell me where i’ve gone wrong.
you need to set your body and html height to 100%
you also need a div which encompases the whole page (including the push div), but not the footer.
Thank you for pointing the error out, can’t believe i missed such a simple thing.
That’ll teach me to re-read the instructions! :roll:
One final thing if i may, although the footer is now in the correct place, it is pushes well below the bottom of the visible page.
How would i get over this? use min-height in the content div?
you need to use the min height on the wrapper div.
My guess is you’ve set a margin (although I haven’t read your code) if this is the case change it for padding. I will probably get a chance to look later.
Thanks for the pointer Adam.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed