Possible Duplicate:
How do you easily horizontally center a <div> using CSS?
I have read multiple ways for centering content on a page using CSS. I am not talking about text, I am talking about content like images or a container etc.
What is the best way for centering content?
Setting the width of the box then using something like left: 50%?
I have read many many ways and really it gets confusing trying to understand which method truly works the best and is cross-browser friendly and works in older browsers.
Any ideas on what is truly the best and most effective way?
Thanks!