无法使用Chosen插件更改下拉列表的宽度

时间:2012-07-23 09:31:11

标签: html css forms jquery-chosen

我正在使用Chose插件并设计样式,但遇到了这个问题:

这是由此生成HTML:

引起的
    <div id="sel1WY_chzn" class="chzn-container chzn-container-single" style="width: 300px;>
//this is width of container
  <div class="chzn-drop" style="left: -9000px; width: 298.333px; top: 22.3333px;">
//this is html of dropdown

我该如何解决?它也可能是由额外的边界造成的,是吗?

1 个答案:

答案 0 :(得分:0)

对不起,我管理的确发现很快)       

ADDED

 .chzn-container-single .chzn-single {
border: 1px solid rgba(98,141, 40, 0.5);
}

删除

   .chzn-container {
       border: 1px solid rgba(98,141, 40, 0.5);}