Answers for "how to put a image in center in CSS"

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 "how to put a image in center in CSS"

Browse Popular Code Answers by Language