I got this problem when Im trying to create a javascript dropdown. It keeps moving over my “prices” link but I took off all the padding and margins in the UL. Suggestions?
Share
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.
This is because your hidden ul that is being displayed is widening the outer ul due to its own width. You need to position your hidden ul as absolute.
Check it out:
http://jsfiddle.net/fSXHj/1/