Make an horizontal bullet list | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Make an horizontal bullet list

Why do the bullet points disappear after using the CSS inline value on a HTML ul command . ? HTML <nav><ul> <li> <a href="#"> About </a></li> <li> <a href="#"> Games </a></li> <li> <a href="#"> Subscribe </a></li></ul></nav> CSS li { display: inline;}

4th Mar 2019, 5:57 AM
Ryan Ryan
Ryan Ryan - avatar
2 Réponses
+ 3
Bullets disappointed due to display: inline override list default selector property, display:list-item; Use float: left; instead
4th Mar 2019, 6:11 AM
Calviղ
Calviղ - avatar
+ 1
thanks guys
4th Mar 2019, 2:15 PM
Ryan Ryan
Ryan Ryan - avatar