+ 1
How can I set center Order list ?
When I try to align center inside ul tag Java, CSS, Html words appear center but points are staying left side. How can I move both ? <ul align="center"> <li>Java</li> <li>CSS</li> <li>Html</li> </ul>
3 Answers
+ 1
Do not use center tag or align attribute, they are deprecated, use css instead.
Try this css
.center {to
margin: auto;
max-width: 80px;
}
https://code.sololearn.com/WXJ69nYBHwhs/?ref=app
0
Ok words are displaying center of the page but dots are not. I want to move both is it possible ?