i have been playing with keeping some side divs stationary on the screen while a middle section scrolls. using the html {height:100%; overflow:hidden;} CSS works fine except when I hover over a button, the side divs jump up the screen to the top of the page.
So I have tried using JS to reposition the divs relative to the current scroll position / window.pageYOffset , however in firefox code that I have working on another site is giving me an odd result, as you scroll the page the side divs seem to have there top position added to their current position so the gap between the top of the page and the divs gets bigger and bigger.
why is this happening?
URL :
What suggestion does anyone have on acheiving my design goal of keeping the left and right side divs "Fixed" - when IE doesn't support this property yet?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
So I have tried using JS to reposition the divs relative to the current scroll position / window.pageYOffset , however in firefox code that I have working on another site is giving me an odd result, as you scroll the page the side divs seem to have there top position added to their current position so the gap between the top of the page and the divs gets bigger and bigger.
why is this happening?
URL :
What suggestion does anyone have on acheiving my design goal of keeping the left and right side divs "Fixed" - when IE doesn't support this property yet?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.