Aligning a UL or OL list on page | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Aligning a UL or OL list on page

How would you Align a list <ol> to a different position on the page.

7th Mar 2019, 2:09 AM
Ymdupree1
1 Answer
+ 3
You can set a relative position using CSS, or you can use the align attribute. Note that when you use the align attribute, the numbers (1, 2, 3, etc.) or bullets for the list will still be aligned left. https://www.sololearn.com/learn/CSS/1114/
7th Mar 2019, 7:16 AM
Rowsej
Rowsej - avatar