Jump to content

How do I fixate a menu?


TheSearcher
 Share

Recommended Posts

Hello everybody! I have a question that have been bugging me for a long time. I am a bit new to the webdesign world. In the beginning I did all my webdesign using Frames. That way making the menu to be fixed in the exact same location, is easy. The same goes for a no frame layout, when the menu is on it's own table row. But when I try to create a menu that is to the left of other content, I have a problem making the menu be fixed height vise. What I mean is that the menu words are jumping up and down on different pages of the site. You can see what I mean when you click on: Click around to see the difference! . Try clicking the top menu word, and see how the other words are moving down slightly. I do not understand why it is not working. I created another site, and had similar problems. That time I solved it by inserting many new paragraphs on the bottom of the page to try to push the meny up to stay in the same position. The link to that page is: Click only the submenu! . You should only click on the submenu with the Around Cape Horn content. The menu that is too the left of the text and have small green circles beside it. How can I make my menus be fixated to the EXACT same location, using tables? Is there a CSS way? Any help is highly appreciated! Have a great day! All the best to all of you! Warm greetings from Mattias!

Link to comment
Share on other sites

How can I make my menus be fixated to the EXACT same location, using tables? Is there a CSS way? Any help is highly appreciated!

Hi, you could use position:fixed http://www.w3schools.com/css/pr_class_position.aspBut.... because IE6 is soooo old it doesn't recognise it so you have to do some trickery: http://www.cssplay.co.uk/layouts/fixed.html
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...