liamloveslearning Posted January 11, 2009 Share Posted January 11, 2009 hi everyone, on my site (http://liamm.co.uk) the menu on the left is a div, and the content is in a seperate div; when the user scrolls down both of the divs move up respectively, however I want my menu div to stay fixed; ive tried changing the css position properties to no avail and im just wondering is this possible? thanks if anyone can help me, I hope this is detailed enough too Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted January 11, 2009 Share Posted January 11, 2009 Try to give the content and nav divs 100% width and give content overflow:auto;. Quote Link to comment Share on other sites More sharing options...
haku Posted January 11, 2009 Share Posted January 11, 2009 Add position:fixed to the menu div. That will hold it in place even if/when the page scrolls. Quote Link to comment Share on other sites More sharing options...
liamloveslearning Posted January 12, 2009 Author Share Posted January 12, 2009 briliant, the position:fixed sorted it right out Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.