Answers for "how to center align lis in html"

CSS
0

center li in ul css

.list-wrapper {
   text-align: -webkit-center;
}
.list-wrapper ul {
    display:block;
}
Posted by: Guest on December-18-2020
-1

how to center a list in html

/* Either center the list directly or center the parent element */

ul {
 text-align: center;
}

/* OR */

div .list {
 text-align: center;
}
Posted by: Guest on February-25-2021

Code answers related to "how to center align lis in html"

Browse Popular Code Answers by Language