list-style outside isn't displayed but inside is

◇◆丶佛笑我妖孽 提交于 2019-12-13 01:19:36

问题


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 ?


回答1:


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



来源:https://stackoverflow.com/questions/14439478/list-style-outside-isnt-displayed-but-inside-is

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!