title: How exactly jQuery's .slideDown/Up() handle slide to unknown (auto) height?
body: <p>I want to slide down (show) this DIV that has <code>0px</code> height initially:</p>
  
  <p><code>&lt;div id="toslide" style="height:0px;overflow:hidden;"&gt; ... various content &lt;/div&gt;</code></p>
  
  <p>However the final height is not known because of various screen widths, font sizes and other stuff that affect the inside layout and therefore the target height.</p>
  
  <p>If I would have to do it manually, I woudl show it with <code>visibility:hidden;</code>, measure the height and then <code>animate</code> it to the know height (this has, however, drawbacks too).</p>
  
  <p>I have mixed results with jQuery's <code>.slideDown()</code> - in the documentation it works, but it doesn't work for me in this particular case.</p>
  
  <p><strong>How can jQuery know the final height?</strong></p>
  
  <p>Edit: one workaround is to have another inner div with <code>height:auto;</code> that would be used to measure height.</p>