title: how to prevent div from getting larger
body: <p>Is there way to stop parent div to change its size when some other contents are appended in it.</p>
  
  <pre><code>&lt;div style="width:220px;height:245" &gt;''      
   &lt;img src="images/pano_doc.png" style="width:220px;height:245"/&gt;"
  
   &lt;div style="position:relative;width:119px;height:173px;background-color:#0F3"&gt;     
   &lt;/div&gt;      
  &lt;/div&gt;
  </code></pre>
  
  <p>After the second div created parent div's height becomes 245+173 but i need to fix its size so whatever is added in it, its size wouldn't change.</p>