Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pelsar

macrumors regular
Original poster
Apr 29, 2008
180
0
israel
i have a floating div that contains the menu system...and its supposed to remain static with in the container, but it doesn't. Move the website to the right, and the menu remains static to the screen but not to the webpage

http://www.spinnerdesign.co.il/_clients/girdon/

how to make the menu div remain static relative to the page?
 
i have a floating div that contains the menu system...and its supposed to remain static with in the container, but it doesn't. Move the website to the right, and the menu remains static to the screen but not to the webpage

http://www.spinnerdesign.co.il/_clients/girdon/

how to make the menu div remain static relative to the page?

since you didn't specify where the absolutely positioned div is relative to, it's relative to the browser window. Add position:relative; to the container div and that should fix your issue.
 
since you didn't specify where the absolutely positioned div is relative to, it's relative to the browser window. Add position:relative; to the container div and that should fix your issue.

that was it..thanks....
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.