<div id="container">
some content
</div>
Say the container div is resizable, while resizing how do I know if it's already overflowed( inner content width < container width or inner content height < container height )?
<div id="container">
some content
</div>
Say the container div is resizable, while resizing how do I know if it's already overflowed( inner content width < container width or inner content height < container height )?
As far as I know the only way is to compare the
for vertical scrollbar
and
for horizontal scrollbar.