align divs to the center of the page code example
Example 1: css main container align center
margin: 0 auto;
Example 2: how to assign something in center inside a div
IMG.displayed {
display: block;
margin-left: auto;
margin-right: auto }
...
<IMG class="displayed" src="..." alt="...">