title: javascript - how to get the inner html width of the webpage
body: <p>I have a few client sites that have a width of about 900px-1000px centered, using javascript how can I find out what the actual width of the document is? I don't need to know the width of the window, just the width that the actual html document is using.</p>
  
  <p>I also can't use any div id's to find it. I know I can use jquery for this, but I'd like to use plain javascript as jquery isn't running on all the sites. </p>
  
  <p>In jquery, I can find this out by using:</p>
  
  <pre><code>$('body').outerWidth(true)
  </code></pre>
  
  <p>Can someone help?</p>