I am trying to make a dropdown box by another one, but whenever I hover over one, the other goes to the bottom of the dropdown box.
Here’s what it’s like right now.
Thanks for helping!
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.
The problem is the
.sub{ display: inline-block; }is injecting unnecessary positioning traits.If you get rid of the display property or set it to
block, then setfloat: left;instead, you’ll get the desired effect.