Is it possible to calculate boundaries for a html layout block?
For example there is
<div id="area">
...
</div>
and it's required to find out minimum size (width, height measured in pixels) to fit the #area into popup modal dialog.
How stable are these approiaches?
Thank you in advance!