I made an unnumbered list in HTML5, and aligned it to the center. The dots in front of it stay on the left however. How can I align the dots to the middle | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

I made an unnumbered list in HTML5, and aligned it to the center. The dots in front of it stay on the left however. How can I align the dots to the middle

2nd Oct 2016, 2:03 PM
Max
2 Respuestas
0
<ul> <li>List</li> <li>List</li> <li>List</li> </ul> in your css ul { list-style: none} ul li:before {content:"."; margin:auto;}
2nd Oct 2016, 2:25 PM
Driss Baidou
Driss Baidou - avatar
0
ty
2nd Oct 2016, 2:32 PM
Max