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.

Sharing is Caring

Brian is a software architect and technology leader living in Niagara Falls with 13+ years of development experience. He is passionate about automation, business process re-engineering, and building a better tomorrow.

Brian is a proud father of four: two boys, and two girls and has been happily married to Crystal for more than ten years. From time to time, Brian may post about his faith, his family, and definitely about technology.