 <p>Because you haven't provided any definite HTML markup, only a generic description of your problem, I provide you a link to <a href="http://css-tricks.com/centering-in-the-unknown/">http://css-tricks.com/centering-in-the-unknown/</a> Here you can find various CSS techniques to center content both vertically and horizontally.</p> <p>jQuery is not necessary to center content, I believe you will manage it with proper HTML markup coupled with some CSS.</p> <p>Fiddle ( <a href="http://jsfiddle.net">http://jsfiddle.net</a> ) will be helpful, though.</p>