title: Getting scroll bar width using JavaScript
body: <p>The following HTML will display a scroll bar on the right inside edge of div.container.</p>
  
  <p>Is it possible to determine the width of that scroll bar?</p>
  
  <pre><code>&lt;div class="container" style="overflow-y:auto; height:40px;"&gt;
    &lt;div class="somethingBig"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>