center image hor in div code example
Example: how to center an image element inside a block in css
img { display:block;
margin-left: auto;
margin-right:auto;
}
img { display:block;
margin-left: auto;
margin-right:auto;
}