+ 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>

19th Aug 2019, 1:43 AM
Oğuzhan Çeşmeci
Oğuzhan Çeşmeci - avatar
3 Antworten
+ 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
19th Aug 2019, 2:49 AM
Calviղ
Calviղ - avatar
0
Ok words are displaying center of the page but dots are not. I want to move both is it possible ?
19th Aug 2019, 2:46 AM
Oğuzhan Çeşmeci
Oğuzhan Çeşmeci - avatar