margin 0 auto
What is the difference between 0 and auto isn't it the same. And why use both 0 and auto , why not margin: 0 or margin: auto
Auto is already a default value. Whatever value you're stating (can be width or height of a block-level element) is adjusted automatically.