You explained the behavior you get, but not the behavior you want and
neglected to post a
minimal test case and a live link. What do you want to happen rather than overflow? The div to fit the content? A scrollbar?
My best guess as to what's wrong is the text is within an absolutely positioned or floated element (which aren't taken into account when calculating the
height (
[2]) of a parent), in which case the solution is not to absolutely position the element (and find an alternative), or
auto-clear the float, or set overflow to "auto" or "scroll" so the height of the div stays the same. Without seeing sample source code (and please don't dump the entire page source), it's impossible to say what's going wrong and offer solutions.