I want to set the height on a div when the div is more than 100px in height.
For example, when the content of the div makes the div\'s height fill more than 100px, I wan
I think that the min-height CSS property is what you are looking for:
min-height
div#myDiv { min-height: 100px; height: auto; display: block; /* float won't work */ }
This should automatically resize your div to wrap its whole content dynamically.