0

Use of attribute inside the tag

Hi everyone, I tried the align attribute inside the <ol> tag like this: <ol align=“center”> and the list values were aligned to the center of the page but the list numbers were still aligned to the left. How can I make the list number appear at the center of the page like the list values? Thanks a bunch!!!

20th Mar 2018, 1:41 PM
Nguyễn Ngọc Huy
Nguyễn Ngọc Huy - avatar
2 Respostas
+ 3
Enclose the whole <ol> tag inside a <p> tag like this.... <p align="center"> <ol> <li></li> </ol> </p>
21st Mar 2018, 10:01 AM
Akshat Vira
Akshat Vira - avatar
0
@Akshat Vira I see. Thanks a lot!!!
21st Mar 2018, 10:09 AM
Nguyễn Ngọc Huy
Nguyễn Ngọc Huy - avatar