Lists with bullets centrally arranged? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Lists with bullets centrally arranged?

Hi, how can I format centrally arranged an ordered or unordered HTML list "including" the bullets in a CSS file? Regards ... Gregor

20th Feb 2024, 6:21 PM
Gregor
Gregor - avatar
4 Antworten
+ 3
can you lonk an example? I don't understand what it is supposed to look like. https://stackoverflow.com/a/19443239 https://www.w3schools.com/howto/howto_css_center-list.asp
20th Feb 2024, 6:46 PM
Lisa
Lisa - avatar
0
Hi, ordered or unordered lists are normally on the left including the bullets. If I write "text-align:center" inside of a, for example, ul separator of a css file, the text will appear in the middle of the body, but the bullets are still on the left. I also tried "display: inline-block", but it didn't work.
20th Feb 2024, 8:00 PM
Gregor
Gregor - avatar
0
Look at the links in my comment
20th Feb 2024, 8:21 PM
Lisa
Lisa - avatar
0
Okay, thanks!
20th Feb 2024, 10:15 PM
Gregor
Gregor - avatar