css center image
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
css center image
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
image align center
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
center an image
.someclass {
display: block;
margin-left: auto;
margin-right: auto;
}
center an image
.classNameOfImage {
display: block;
margin-left: auto;
margin-right: auto;
}
How do i allign a pic centre in html
<img src="Sanjith.jpg" class="centre" height = "200" width = "100">
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us