Reputation: 10643
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?
Upvotes: 0
Views: 124
Reputation: 1391
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:
Upvotes: 2