I am trying to apply CSS for parent div with ID to child div with CSS.
Need to apply
ui-selectlistbox-listcontainer
class div height
as 100% with parent div id="tableForm:mainTable:selectFilterMenu-crop"
.
And this code child div is dynamically created. So need to apply height
= 100% thow CSS only.
Please suggest me to apply css for child div height as 100%,
HTML:
<div id="tableForm:mainTable:selectFilterMenu-crop" class="ui-selectmanymenu ui-inputfield ui-widget ui-widget-content ui-corner-all" style="width:165px; height:270px">
<div class="ui-selectlistbox-listcontainer" heigth="200px">
</div>
</div>
CSS: // Not working
#tableForm:mainTable:selectFilterMenu-crop div.ui-selectlistbox-listcontainer {
height: 100% !important;
}