center element in display block code example
Example: how to center an ing with block display
img{
display: block;
margin-left: auto;
margin-right: auto;
}
img{
display: block;
margin-left: auto;
margin-right: auto;
}