title: get current width of html form using javascript
body: <p>I want to get the current width of an html form using javascript. I'm writing this in asp.net</p>
  
  <p>Form definition: <code>&lt;form id="form1" runat="server"&gt;</code></p>
  
  <p>What I an trying: <code>document.getElementById('form1').style.width</code></p>
  
  <p>Keep producing a runtime error... Any ideas?</p>
  
  <p>Thanks!</p>