Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 20, 2010, 05:07 PM   #1
pelsar
macrumors regular
 
Join Date: Apr 2008
Location: israel
floating div does not stay absolute...

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?
__________________
MacBook Pro 1.83GHz Intel, 1.5GB 667MHz, Leopard 10.5.6
pelsar is offline   0 Reply With Quote
Old Dec 20, 2010, 06:35 PM   #2
manueld
macrumors regular
 
Join Date: Jun 2009
Quote:
Originally Posted by pelsar View Post
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.
manueld is offline   0 Reply With Quote
Old Dec 20, 2010, 10:55 PM   #3
pelsar
Thread Starter
macrumors regular
 
Join Date: Apr 2008
Location: israel
Quote:
Originally Posted by manueld View Post
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....
__________________
MacBook Pro 1.83GHz Intel, 1.5GB 667MHz, Leopard 10.5.6
pelsar is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Internet Sharing Does Not Stay On bryanvlam MacBook Pro 0 Sep 28, 2010 09:27 PM
Whatsapp does not stay connected jgn iPhone Tips, Help and Troubleshooting 1 May 23, 2010 03:11 AM
Incoming Apple Mail does not stay on server NJRonbo Mac Applications and Mac App Store 0 Mar 13, 2010 10:49 AM
Beejive does not stay logged in long fleeper iPhone and iPod touch Apps 7 Aug 31, 2009 10:48 AM
Finder Application Folder does not stay organized CajunCARTFan iMac 2 Sep 25, 2008 01:53 PM


All times are GMT -5. The time now is 06:08 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC