SyntaxFix
Write A Post
Hire A Developer
Questions
margin-top:0; margin-bottom:0; margin-left:auto; margin-right:auto;
0 is for top-bottom and auto for left-right. The browser sets the margin.