-
CSS: If you want no top and bottom margin,
margin: auto
has the same effect asmargin: 0 auto
. If you want shortcuts, use shortcuts. (This is nothing new, it’s just astonishing how common “0 auto” is when “auto” is all that’s needed.)
margin: auto
has the same effect as margin: 0 auto
.
If you want shortcuts, use shortcuts.
(This is nothing new, it’s just astonishing how common “0 auto” is when “auto” is all that’s needed.)