I am new here and to the world of web development. Hope someone clear a confusion I am having for sometime.
when specifying the container within a body, why do I see others put display: block, isn't that already the default for the display? Why the need to specify it in the CSS? Also, what is the difference between margin: 0 auto and margin: auto. I know that the 0 will do the top & bottom, and the auto, the left and right but will setting only auto do all sides?
Thank you