title: How to set variable height based on various screen resolutions using css and javascript
body: <p>I have a div with 300px static height and another div with dynamic height below the static div. The div should be dynamic based on screen resolution can anyone help me out...</p>
  
  <pre><code>&lt;div class="static" style="height:300px;width:100%"&gt;
  &lt;/div&gt;
  &lt;div class="dynamic"&gt;
  &lt;/div&gt;
  </code></pre>