title: Get the width of an HTML element via CsQuery
body: <p>Update on 06/06/2017: Thanks for jdweng's help, it seems that CsQuery doesn't have the method to get the offSetHeight &amp; offSetWidth of an element.</p>
  
  <p>I's using CsQuery in C# to analyse static HTML files, and want to get the Height and Width of an <p> element.</p>
  
  <p>But it seems the IDomObject of csquery doesn't have the method to get the Height or Width.</p>
  
  <p>Note that the Height or Width does not listed in the Style attribute, so I couldn't get them via：</p>
  
  <pre><code>Int32 ElementWidth = Int32.Parse(myDomObject.Styles["width"].replace("px","").Trim());
  </code></pre>
  
  <p>Also, the HTML files are saved in local drive, not generated via aspx file.</p>
  
  <p>Any suggestions would be appreciated.</p>