Answers for "how do i center an image in a div"

Go
0

How do i allign a pic centre in html

<img src="Sanjith.jpg" class="centre" height = "200" width = "100">
Posted by: Guest on September-13-2020
0

how to make text center above image html

#container {
  text-align: center;
}

.text {
  display: inline-block;
  margin: 0 20px 0 20px;
}

.img {
  margin: 0 20px 0 20px;
  width: 50px;
  height: 50px;
}
Posted by: Guest on August-22-2020

Code answers related to "how do i center an image in a div"

Browse Popular Code Answers by Language