New course! Every coder should learn Generative AI!
Try a free lesson+ 1
moving contents inside a div
How to move a list to the center of a div?
2 Answers
+ 1
ul, ol{
display:inline-block;
margin:0 auto;
}
0
<div style="text-align: center">...</div>