title: jQuery(document).width() that doesn't include "white space"
body: <p>Consider these two functions:</p>
  
  <ol>
  <li><code>jQuery(document).width()</code></li>
  <li><code>jQuery(window).width()</code></li>
  </ol>
  
  <p>(1) gives you the width of the web page, and (2) gives you the width of the browser viewport, roughly speaking. </p>
  
  <p>But let's say we have a web page that is 800 pixels wide. </p>
  
  <p>If the browser window width is less than 800 pixels, method (1) always returns 800. This is good.</p>
  
  <p>But if the browser window width is greater than 800 pixels, method (1) returns the same as (2), and NOT 800. So the value of (1) is dependent of the browser window. This is not good.</p>
  
  <p>My question is: given that you can't control the browser window size, and the browser window width in most cases is greater than the web page width, how do I get the real web page width, using javascript/jquery?</p>