javascript - Html: how to calculate layout boundaries -


Is it possible to calculate the boundaries for the html layout block?

For example

  & lt; Div id = "region" & gt; ... & lt; / Div & gt;  

and #area need to find the minimum size (width, height measured in pixels) to fit the popup modal dialog.

How are these perspectives stable?

Thank you in advance!

You can use jQuery width and height functions.

See

This works for me in FF and IE 6/8, so it is quite stable.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -