Answers for "how to align a div to the center of the webpage"

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 align a div to the center of the webpage"

Browse Popular Code Answers by Language