找到你要的答案

Q:Chosen container not showing elements

Q:选择容器不显示元素

Does anyone know any css property for make the second image look like the first image?

Both dropdown have the same elements but as you see the second doesn't show the elements. enter image description here

Update: I've just changed my css, overflow from hidden to overlay

.wizard > .content
{
    background: #eee;
    display: block;
    margin: 5px 5px 10px 5px;
    min-height: 120px;
    overflow: overlay;
    position: relative;
    width: auto;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

有谁知道任何CSS属性使第二图像看起来像第一形象?

Both dropdown have the same elements but as you see the second doesn't show the elements. enter image description here

Update: I've just changed my css, overflow from hidden to overlay

.wizard > .content
{
    background: #eee;
    display: block;
    margin: 5px 5px 10px 5px;
    min-height: 120px;
    overflow: overlay;
    position: relative;
    width: auto;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
answer1: 回答1:

Perhaps share some code?

I would inspect the height or max-height of the dropdown. Maybe overflow: hidden is hiding the list. Or if there are floated elements in the list for some reason you might have to put overflow: hidden on the container element to contain the floated elements i.e. expand with the size of it's contents

也许分享一些代码?

我会检查下拉高度和最大高度。也许溢出:隐藏是隐藏的列表。或者,如果列表中有浮动元素,出于某种原因,您可能需要将溢出:隐藏在容器元素上,以包含浮动元素,即展开其内容的大小

css  css3  jquery-chosen