title: need to set inline style="width: window.innerWidth"
body: <p>I want to achieve the following effect:</p>
  
  <pre><code>&lt;div id='leftSide' style="width: window.innerWidth"&gt; AS WIDE AS CLIENT WINDOW &lt;/div&gt;
  </code></pre>
  
  <p>I don't think it is possible to code it as above.  The reason is, "window.innerWidth" is a <strong>Javascript</strong> attribute of the window object -- and I don't see how to use that value in my inline CSS.</p>
  
  <p>Also, I avoid 'onLoad()' handlers.  I know I can add an onLoad() handler function to handle the page load in the body tag of the page and then use all the javascript I want to set the width.  But I don't like using onload handlers in my pages.</p>
  
  <p>So is there <em>some</em> way to access the 'window.innerWidth' value in my inline'd CSS here?</p>