align image in the middle of div code example
Example: centre align image in div
body {
margin: 0;
}
#over img {
margin-left: auto;
margin-right: auto;
display: block;
}
body {
margin: 0;
}
#over img {
margin-left: auto;
margin-right: auto;
display: block;
}