Answers for "how to align divs in center"

CSS
4

div align center

.center {
  text-align: center;
}

// or

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

how to center a div

It's normal to not know how to center a div, just copy and learn from the codes below
Posted by: Guest on August-11-2021

Browse Popular Code Answers by Language