If you want it to expand, do not click on the height ...
remove height:100px; from css rule.
It seems that you want to float inside the div. If this is the case, you can (after removing the height) either do it with a clearing div, or remove the div divider and set the overflow to auto in the PropertyPanelMain rule.
.PropertyPanelMain { font-size: 8pt; color: #000; border: 2px solid #ccc; width: 100px; overflow:auto; }
[update comment]
To use the minimum height, you can use the min-height css property, but since it is not supported by all browsers, we do the trick using the !important css directive
.PropertyPanelMain { font-size: 8pt; color: #000; border: 2px solid #ccc; width: 100px; overflow:auto; min-height:100px; height:auto!important; height:100px; }
IE will ignore the rule height:auto , because it does not comply with the !important directive, but by mistake It will expand to include content.
source share