How to Center a Div in the Middle of the Screen

Sharing is Caring

David Tang has written a very simple, but great plugin for jQuery that allows the casual JavaScript/jQuery programmer to easily place a div in the middle of the page. In fact, I am now using it on several of the sites I work on to alert users in an unobtrusive way to any errors in a form.

I don’t feel it is necessary to write any sample code or display how the plugin works, because David has done a decent job documenting and creating demos.

Author: Brian Cline

Brian is a programmer living in Niagara Falls with ten years of development experience. He is passionate about automation, business process re-engineering, and gamification. For the last six years or so, he has been working with Salesforce and JavaScript.

Related Posts

Sharing is Caring