"fixed" positioning in IE
- Started
- Last post
- 5 Responses
- fifty50
How come the CSS property "position: fixed" does not work in Internet Explorer? I'm building a site right now where I would like a small footer to be floating at the bottom of the window, but always be visible, even if you have to scroll down. This is done using "position: fixed; bottom: 0" but in IE it sits at the bottom of the page content instead of at the bottom of the viewing area.
is there any way to fix this?
- fifty500
Hmm... well I know that article and it was a good learning tool last year when I read it, but I actually WANT the footer to float above everything, but stick to the bottom of the viewing area. works in all browsers except for IE. Using "position:absolute" just creates more problems.
- fifty500
I may have found a workaround. It's not 100% necessary for this footer to be floating above everything. I'm using some script.aculo.us effects on the site and when some objects are dragged or enlarged or whatever then the footer gets displaced. I used some simple CSS hacks to work around it and now it seems to be working just fine under all browsers, although it doesn't float in IE. no problem though.
- fifty500
the problem with that, weestu, is i already have relatively and absolutely positioned divs, so i can't use that. the next problem with using the IE CSS hacks, my CSS no longer validates.