开发者

Slidedown menu not lining up

开发者 https://www.devze.com 2023-03-18 03:27 出处:网络
Here\'s a jsfiddle of what I have. For some reason, the list containing the dropdown elements keeps sliding down pushed all the way to the left, even with float:none; I\'m not sure if this is somethin

Here's a jsfiddle of what I have. For some reason, the list containing the dropdown elements keeps sliding down pushed all the way to the left, even with float:none; I'm not sure if this is something obvious I am just overl开发者_开发问答ooking, or whats going on, but I'm fairly certain the issue is in my CSS.


The issue is in your CSS. You are giving your dropdown class a position: absolute; but not defining the values. Thus it shows up in the default left: 0; top: 0;.

0

精彩评论

暂无评论...
验证码 换一张
取 消