When Does margin: 0 auto Center?
If you don’t like CSS and you have problems with it, you probably also had a problem with centering things on your beautiful web page. Then you came across a fantastic solution margin: 0 auto; which, according to some online CSS tutorials ALWAYS centers. Well, it does not and this article will tell you why.