how to center a list in html

Solutions on MaxInterview for how to center a list in html by the best coders in the world

showing results for - "how to center a list in html"
Maissa
27 Jan 2018
1/* Either center the list directly or center the parent element */
2
3ul {
4 text-align: center;
5}
6
7/* OR */
8
9div .list {
10 text-align: center;
11}
12
queries leading to this page
how to align a list in centercenter aligned list htmlhow to make list items centercenter list htmlhtml list centerhtml center listhow to align list to centerhtml center lihtml align list centerhow do you center align a list in htmlcenter item in list htmlalign html list centerlist centerhtml how to center listhow to make list at center of page in htmlalign list in center htmlhow to center a list in csshow to make list in center in htmlhtml list item align in centercreata a horizontal list and center it htmlhow to make li in html to centerhtml list horizontal centerhow to make list center in htmlhow to center a list in htmlhow to center li in htmllist inline html centerlist in center htmlhow to center list in middle of webpage htmlcenter align listhow to center list tags in csshow to center ul in htmlhow to align a list in htmlcentering a list htmlhtml horizontal list align centercenter lists in htmlhow to align list in center in htmlcenter align list htmlhow to horizontalyy align list in htmlhtml cetner listhow to move my html list in center of pagecenter a li htmllist html centerhtml list align centerhow to center a li in htmlhow to center list csshow to center align list in htmlcenter an ul list htmlhtml center horizontal listmove list on html to the centeralign a list in centerlist center htmlhow to align a list htmlhow to make a centered list in htmlhow to align list in htmlhow to align list to the centerlist align centerhow to align list to the centre in csshtml center inline listhow to center a list in html