Answers for "how to centere an image"

CSS
44

css center image

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
Posted by: Guest on November-28-2019
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

Browse Popular Code Answers by Language