title: How to calculate height of div in jQuery?
body: <p>I am in such a situation that I have to set height of a div depends on the amount of content in it, I can't give <code>min-height</code> in it. I know we can calculate height of div by : </p>
  
  <pre>
  $("#divid").height();
  </pre>
  
  <p>So is there any way we can calculate height of a div without having height parameter in it and give height to that div depends on the amount of content in it. </p>
  
  <p>I hope I explained it clearly. </p>
  
  <p>Thanks</p>