View Full Version : fixed footer in ie6
Irishcash33
06-04-2009, 02:10 AM
Hi,
Ok so I made a fixed footer that looks and works awesome in every browser except for.......yes ie6.
Now I am fine with not having it fixed in ie6. But I can't undo the fixed style for just ie6. It screws up all of the pages, adds scroll bar, shows the footer in some, not in others, etc.
Do you have any suggestions on how to get this to a normal page in ie6? It doesn't need to be fixed, I can just have it positioned regularly under the body in ie6.
link (http://www.headfirstgraphics.com/NHWolfpack/index.php)
Thanks
molendijk
06-04-2009, 11:00 AM
See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=31661&highlight=molendijk).
===
Arie Molendijk
Irishcash33
06-04-2009, 01:12 PM
Thanks for the reply.
It was very helpful. I got the footer to be fixed in ie6!!!!! But now there is a scrollbar on the maincontent, and when you scroll that, only the bg moves, not the actual content(3 boxes). Your fix is only on the footer style, so it shouldn't effect anything else.... any suggestions?
Link (http://www.headfirstgraphics.com/NHWolfpack/index.php)
molendijk
06-04-2009, 04:21 PM
The scrollbar on the maincontent is not caused by the IE-fix, because if you remove the fix, the scrollbar is still there.
Anyhow, you can get rid of the scrollbar by doing <div id="mainContent" style="overflow:hidden"> (but I don't know if that will spoil other things).
To have the footer more solidly fixed, give the body "background: url(foo) fixed;background-color:black".
===
Arie.
Irishcash33
06-04-2009, 07:38 PM
Thanks.
It doesn't seem to be working tho. The scrollbar shows up because of the fixed footer i have in the stylesheet for all other browsers.
I can't take that out, or it won't work in any browser.
What I meant by saying your fix made the scrollbar, is that it didn't override the existing "fixed position" style.
Look at this page (http://www.headfirstgraphics.com/NHWolfpack/roster.php).
It has a scroll bar on the maincontent, but doesn't scroll down to show all of the content...
molendijk
06-04-2009, 07:49 PM
Sorry about that. Maybe you could use the CSS-fix for fixed positioned in IE, given in the thread above.
===
Arie.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.