Answers for "how to center a div in html page"

CSS
4

div align center

.center {
  text-align: center;
}

// or

<div style="text-align:center">
</div>
Posted by: Guest on February-17-2021

Code answers related to "how to center a div in html page"

Browse Popular Code Answers by Language