+ 1
How do you put a list in the center of a webpage?
I can't find out a way to do it :(
5 odpowiedzi
+ 4
Use align="center"
or enclose the <ol> or <ul> tags inside <center> tags.
+ 4
Use
ul {
display: block;
max-width: 20%;
margin: 50vh auto;
}
https://code.sololearn.com/W1UtsWWWo86y/?ref=app
+ 3
thanks
+ 3
Don't use center tag. Its obsoleted since HTML4. New coming released browsers could no longer support center tag.
+ 2
ok