+ 3

HTML. I want to align <ul></ul> to the center, but these points remain on the left side regardless of the text. How to fix it?

<ul> <li>...</li> <li>...</li> </ul> How to align everything to the center?

3rd Jun 2018, 7:51 AM
Egor
Egor - avatar
4 ответов
+ 6
Use the alternative method after the or Egor
3rd Jun 2018, 8:13 AM
***
+ 5
Egor use css : ul { list-style-position : inside; text-align: center } or <ul style= " list-style-position : inside; " align="center"> <li> list item </li> </ul>
3rd Jun 2018, 8:10 AM
***
+ 1
Sorry, but I don't know css yet :(
3rd Jun 2018, 8:11 AM
Egor
Egor - avatar