September 22nd, 2010 Centering DIV Vertically Pure CSS
Some fellas at work were needing to know how to center content vertically and it reminded me that I hadn’t made this into a post yet. Here’s an example of how to center a <div> both horizontally and vertically within a browser window using only CSS & XHTML.
You can view the demonstration here. *Right Click* to view the page source. For your ease of use, I have commented the css to help you along your way. Enjoy!
