Margin Auto Auto Or Auto 0 Code Example


Example: margin 0 auto


Specifying 0 tells the browser to set the top and bottom margin to 0.

Specifying auto tells the browser to automatically determine the left
and right margins equally.

It's the same as:

margin-top:0;
margin-bottom:0;
margin-left:auto;
margin-right:auto;

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy