title: Setting the width and heights value in div's style tag from variables
body: <p>In my javascript file I have the following line:</p>
  
  <pre><code>&lt;div id="mygraph" style="width:200px;height:100px;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I'd like to set the width and height values in the style tag from two variables that take their values from the corresponding functions:</p>
  
  <pre><code>var my_width = getWidth();
  var my_height = getHeight();
  </code></pre>
  
  <p>How can I accomplish that? I'm missing the correct syntax. Thank you in advance...</p>