Centering a fixed width div is relatively easy
margin: 0 auto;
Just place this in positioned box and that’s all.
But if the thing is gonna be variable width, it’s a little bit more complicated.
* Put your content in a floated div, and give it a left: -50%, make it relative:
* Put this div in another floated div, and this time with:
Author: Selim (8)