I've tried to get my footer to stay at the bottom of the page, but nothing I have tried works. I've spent hours researching the answer and tweaking the code to no avail.
[if IE]> <style type=\"text/css\"> /* place css fixes for all versions of IE in this conditional comment */ #sidebar1 { padding-top: 30px; } #mainContent { } /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */ </style> <![endif] #container #mainContent img { padding: 5px; float: right; }
give a link to your page so that we can see what your footer is doing. You should always include a link whenever possible. This will help us diagnose what your problem is. Instead of trying to visualize it from your code.
without knowing a whole lot. I see that you have position:relative on your footer. You do know that this takes your footer out of the normal flow of the site right? So maybe things you would be expecting to push on it might not be doing that. I don't even have a full grasp of that stuff yet.
I've tried to get my footer to stay at the bottom of the page, but nothing I have tried works. I've spent hours researching the answer and tweaking the code to no avail.
I did the same once, and when I finally came up with a solution, I documented it so I could refer myself to it in the future. See here.
I've tried to get my footer to stay at the bottom of the page, but nothing I have tried works. I've spent hours researching the answer and tweaking the code to no avail.
Help.
My CSS:
My HTML:
http://patrickprindle.com/testimonials.html
http://ryanfait.com/sticky-footer/
Pure CSS, pretty elegant really.
I did the same once, and when I finally came up with a solution, I documented it so I could refer myself to it in the future. See here.