Home > Article > Web Front-end > I want to make a drop-down menu, but I don’t know how to do it. Can you help me?_html/css_WEB-ITnose
I want the "Front Desk" and "Front Desk Cashier" level li to be arranged horizontally, and the "Reservation Management" and "Reception Management" level li to be arranged vertically. What should I do?
Is it right to put the ul of the submenu under the li of the previous level?
Reply to discussion (solution)
li { float:left; }
li li { float:none; display:block; }
After I click on the front desk reception and front desk cashier, the entire layout moves backward and some blanks are inserted. I don’t know why?