I’m trying to create a simple jquery slidedown menu, but it’s pushing the page down, and I don’t really want that. I can’t use absolute positioning.
Here is a jsfiddle of what I have right now.
Any help or suggestions would be greatly appreciated!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Put the navbar in a container with fixed height. This prevents the content from moving.
Example jsfiddle
If you want the menu to go over the content you’ll have to use absolute positioning though.