title: CSS for variable height with minimum and maximum limits
body: <p>I have an image in the left sidebar widget. Width is 100%. Is it possible to change the height of the image automatically according to the length of the post? I want the minimum height to be 450px, max 1000px, with automatic adjustment in between this range. What CSS tags should be added?</p>
  
  <pre><code> &lt;div id="HTML5" class='widget HTML"&gt;
  
   &lt;div class="widget content"&gt;
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>&lt;img src='https://abcd' style='width:100%; height:???; border:none;
  margin-bottom: 5px; padding:3px'/&gt; 
  </code></pre>