Vertically aligns, to the middle, the specified element(s) within their parent container(s).

Example

<div style="width: 112px; height: 112px; border: solid 1px #ff0000">
	<p id="testP">
		Blah
	</p>
</div>

$("#testP").verticalAlignMiddle();

Last edited Jul 10, 2012 at 3:21 AM by cmaterick, version 6

Comments

No comments yet.