title: Get width in pixels from element with style set with %?
body: <p>I have this element:</p>
  <pre><code>&lt;div style=&quot;width: 100%; height: 10px;&quot;&gt;&lt;/div&gt;
  </code></pre>
  <p>I want to get it's width in pixels. I just tried this:</p>
  <pre><code>document.getElementById('banner-contenedor').style.width
  </code></pre>
  <p>Which returns <code>100%</code>. Is it possible to actually get the element's width in pixels with JavaScript?</p>