jQuery plugin: Vertical Align


/ Published in: jQuery
Save to your folder(s)

jQuery plugin for vertical centering the matched elements.

Instructions:

1. Save the code into file: jquery.verticalAlign.js
2. Include "jquery.js" and "jquery.verticalAlign.js" in the head section of your document
3. use like this:

jQuery(document).ready(function($) {

$("#someDiv").verticalAlign();

});

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.