+ 1

How do you align a whole unordered list?

align="center" only aligns the text, not the bullet points. Pls help.

13th Jun 2019, 1:10 AM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
5 Answers
+ 1
use float
13th Jun 2019, 2:05 AM
Jason Kennedy
+ 1
float right or left not center. or use a wrapper. using flex or grid works but id learn it the vanilla way first just so you know
13th Jun 2019, 6:55 AM
Jason Kennedy
+ 1
Thx :D
24th Jun 2019, 3:31 AM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
0
Now nothing is displayed 🙁
13th Jun 2019, 2:11 AM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
0
ul { display: flex; flex-direction: column } ul li { margin: auto; }
13th Jun 2019, 6:09 AM
CalviŐ˛
CalviŐ˛ - avatar