how to align a div item in center code example
Example 1: css center image
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
Example 2: html align right
<p style="text-align:right;">Example</p>
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
<p style="text-align:right;">Example</p>