jquery - Why does the Chosen Select DropDown goes under the footer DIV -



jquery - Why does the Chosen Select DropDown goes under the footer DIV -

i have next html:

<!-- header content --> <div class="bodymaincontentholder" style="min-height: 750px;"> <div class="sectionfp grouping visoverflow"> <div class="col span_1_of_3_cust span_pad_right"> <div class="smallpadtop brclear setleft"> <div class="setbold brclear">select language:</div> <div class="chosenddlholder"> <asp:dropdownlist clientidmode="static" id="ddllanguage" cssclass="chosen-select setprovddstyle" runat="server" appenddatabounditems="true"></asp:dropdownlist> </div> </div> </div> </div> </div> </div> <!-- footer content -->

css:

.chosenddlholder { width: 100%; } .setbold { font-weight: bold; } .setleft { text-align: left; } .brclear { clear: both; } .smallpadtop { padding: 15px 0 0 0; } /* column setup */ .col { display: block; /*float:left;*/ display: inline-block; margin: 1% 0 1% 0; } .col:first-child { margin-left: 0; } .span_1_of_3_cust { width: 28.2%; } .span_pad_right { padding-right: 1%; } .bodymaincontentholder { width: 98%; overflow: hidden; /* tried changing "overflow: visible" didn't work */ margin: 0 auto; padding: 2% 0 2% 0; } .sectionfp { clear: both; padding: 0px; margin: 0px; height: auto; width: 100%; } /* grouping */ .group:before, .group:after { content: ""; display: table; } .group:after { clear: both; } .group { zoom: 1; /* ie 6/7 */ } .visoverflow { overflow: visible; }

if footer close dropdownlist, gets clipped. way avoid it, utilize min-height style creates unnecessary white space.

here screenshot:

how can modify code dropdownlist goes above other div , still remain flow of surrounding divs (without using absolute position)

jsfiddle: http://jsfiddle.net/e62wu/74/

html source:

remove overflow: hidden bodymaincontentholder. container hiding inner drop-down div.

http://jsfiddle.net/e62wu/77/

jquery html css jquery-chosen

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -