Answers for "display center portion of image in div"

7

centre align image in div

body {
  margin: 0;
}

#over img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
Posted by: Guest on November-06-2020

Code answers related to "display center portion of image in div"

Browse Popular Code Answers by Language