I hate CSS with passion. How many fucking steps do you need to take to make things aligned in the center of a container?
You need to make sure your outside container is set to the required width. Usually 100%.
Then you need to center the loose text by text-align:center;
Then you need to make internal container to have set width (sic!) and give it margins to “auto”.

I understand the concept behind this. But show me a man who came up with idea of setting a margin to auto to be align a container. I’ll shoot him in a face!

blah-bloody-blah! this is centered with no problem.
and this just does not get into center unless you set margins.
blah-bloody-blah! this is centered with no problem.

and this just does not get into center
unless you set margins.
  • awef

    If it was one man, this never would have happened. You’ll have to shoot the whole committee in the face. I’ll be right behind you