What is the best way to center a position relative div vertically within its parent element?
For example:
<div class="parent">
<div style="position:relative;" class="child">
</div>
</div>
Any suggestions on how to vertically center $('.child') in relation to $('.parent')?