Zaper Gallis Posted October 2, 2011 Share Posted October 2, 2011 Ok, I found a way to force the footer to the bottom of a page if the content is to short. I used the information found on this page: http://ryanfait.com/resources/footer-stick-to-bottom-of-page/ The issue is when the page is shorter than the content, such as if you were to re-size the window, the footer ends up in the middle of the content. Does any one know how i can adjust the code to keep it at the bottom of the content at all times? Link to comment Share on other sites More sharing options...
Don E Posted October 2, 2011 Share Posted October 2, 2011 Try adding clear to the footer: clear: both; Link to comment Share on other sites More sharing options...
Ingolme Posted October 2, 2011 Share Posted October 2, 2011 That shouldn't happen.The footer should always be below the content. It should only stick to the bottom of the page when the content is too short. Do you have an example implementation we could see? "I put this on my site and it doesn't work right in browser X. You have something wrong with your code!" Check to see if the example CSS Sticky Footer page works in that browser. If it does, then you have something wrong with yours! Link to comment Share on other sites More sharing options...
Zaper Gallis Posted October 3, 2011 Author Share Posted October 3, 2011 Think I found the issue. Just bad coding from when I was just learning how to script. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.