how to set element center in the div
<p>suppose i have text, images etc in div. so how can i make the element center horizontally and vertically in the div with the help javascript &amp; css. please guide with sample code. </p>

<p>thanks</p>
