csshtml-listsinvisible

list-style outside isn't displayed but inside is


The black discs before content inside the "li" are visible with this css: li{ list-style: disc inside none; } But they don't show up with this code: li{ list-style: disc outside none; } How can I make them visible ?


Solution

  • Set the padding-left attribute of the parent "ul" to something like: "20px", and they will show up.