I know this would be easy with the position: fixed, but unfortunately I am stuck in IE 6 support. How can I do this? I would rather use CSS to clean up, but if I have to use Javascript, this is not the end of the world. In my current implementation, I have a “floating footer” that floats over the main content area and is positioned using Javascript. The implementation I have right now is not particularly elegant even with Javascript, so my questions are:
- Is there any way to do this without Javascript?
- If I need to use Javascript, are there any “good” solutions to this floating-footer problem? By “good,” I mean something that will work in different browsers, does not overload browser resources (as this will often have to be recounted) and elegant / easy to use (i.e. it would be nice to write something like
new FloatingFooter("floatingDiv") ).
I'm going to guess that there is no super simple solution that has everything above, but something that I can build would be great.
Finally, just a more general question. I know this problem is a big pain to solve, so what are the other UI alternatives and not the footer content at the bottom of each page? On my particular site, I use it to display transitions between steps. Are there any other ways to do this?
javascript css internet-explorer-6 sticky-footer
Bialecki Sep 28 '08 at 20:27 2008-09-28 20:27
source share