Twiiter Bootstrap(按钮下拉)+ Div固定 [英] Twiiter Bootstrap (Button Dropdown) + Div Fixed

查看:118
本文介绍了Twiiter Bootstrap(按钮下拉)+ Div固定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在div中有两个按钮,位置:fixed;但是当你点击时,选项列表消失了。

I have two buttons in a div with position: fixed; but when you click, the list of options disappeared.

我在下面的链接中写了我的代码,你可以帮我吗?

I wrote my code in the link below, you can help me?

http://jsfiddle.net/T9QHw/

谢谢。

推荐答案

选项列表消失,因为你告诉div隐藏所有超过div本身使用 overflow:hidden 。显然,下拉菜单不在div。

The list of options disappear, because you're telling the div to hide everything that goes beyond the div itself using overflow:hidden. Clearly, the dropdown menu is outside of the div.

删除 overflow:hidden 它会工作

这篇关于Twiiter Bootstrap(按钮下拉)+ Div固定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆