Answers for "how to center an image in css w3schools"

CSS
14

html center image

/* Here is the CSS code! */
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
Posted by: Guest on October-17-2020

Code answers related to "how to center an image in css w3schools"

Browse Popular Code Answers by Language