+ 1
How do you align a whole unordered list?
align="center" only aligns the text, not the bullet points. Pls help.
5 Answers
+ 1
use float
+ 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
+ 1
Thx :D
0
Now nothing is displayed đ
0
ul {
display: flex;
flex-direction: column
}
ul li {
margin: auto;
}