title: Html/Css center a div in a div vertically
body: <p>Hello all here's my question:</p>
  
  <p>I have an html/css website and I have several parent and child div's. I need to make a script (Jquery?) that finds the parent and the child div height's and add the css necessary to center the child in the parent...</p>
  
  <pre><code>&lt;div class="parent"&gt;
   &lt;div class="child"&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  .....
  &lt;div class="parent"&gt;
   &lt;div class="child"&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  ....
  &lt;div class="parent"&gt;
   &lt;div class="child"&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;SCRIPT&gt;
  ???
  &lt;/SCRIPT&gt;
  </code></pre>
  
  <p>Thanks all...</p>