title: Calculate height and width of HTML content
body: <p>I am creating a generic myWindow extending Ext.window.Window component.
  here I need to support one feature to auto adjust height and widht of window.
  This height and width will depend on height/width of HTML content inside the Window.
  Is there any way in EXT JS or javascrip that can provide me height and width of html content.  </p>