Answers for "div content image center"

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

Browse Popular Code Answers by Language