在我的这篇文章http://technopcarea.blogspot.com/2014/06/how-to-make-your-websites-design.html中,尽管添加了正确的html,子弹仍未出现,为什么?
答案 0 :(得分:0)
列表类型无添加到ul。
将list-style-type作为css属性添加到ul:
<ul style="list-style-type:circle !important">
<li><span style="font-size: large;"><b>Go to Template tab of your blog's HTML</b></span></li>
<li><span style="font-size: large;"><b>Click on Edit HTML button</b></span></li>
<li><span style="font-size: large;"><b>Search For ]]></b:skin></b></span></li>
<li><span style="font-size: large;"><b>Add the following piece of codes before it</b></span></li>
</ul>
您可以将任何所需的值添加到列表中,可以在以下链接中阅读:
http://www.w3schools.com/cssref/pr_list-style-type.asp
我已经检查了您提供的链接,并在该链接中您已经提供了填充的css:此列表中的项目 li tag
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
border: 0;
padding: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
删除此填充,您的列表样式将会出现,因为它需要在内容上填充并且您已在li上填充0