The simplest way to centre a DIV

Came across this great (and brief) tutorial on how to place a DIV in the exact centre of the browser with just a few lines of CSS, it even works in IE…

The site also holds a lot of other useful info for the average web designer, including a couple of great add-ons to Photoshop for easy Web 2.0 styling. Well worth a visit!

About Author