Originally Posted by RaZoR^
Code:
body{text-align:center;}
#container{margin:auto;width:80%;text-align:left;}
Well, that was hard.
|
I didn't say it was hard, I said it felt wrong. I use auto margins too, but the other method has a few advantages I like. It's also more compatible, which means I can support IE5 without having to center everything in my body.
I'm not saying you're doing it wrong, I'm just saying it's a different way.