<div class=“style1” id=“div1”>
!!! dynamic text set by PHP !!!
</div>
Using the code above…
In javascript, I’m trying to determine height of the div. Since the text in the div can change in length, I want to beable to move another object below it so it doesn’t get over run by overflowed text.
I guess what I’m asking is:
- how do I detect Overflow
- if overflow, what is the height(in pixels) of the enclosing div because of overflow.
Thanks!