以HTML格式创建项目符号列表

时间:2012-05-15 18:53:13

标签: html

我只是想在ASP.NET aspx页面中添加项目符号列表。

我在aspx页面上有如下代码......正如你所看到的,ul标签上没有使用类......

 <ul type="circle">
                        <li>Upon receipt and inspection of the returned merchandise, credit will be issued based
                            on purchase price. Merchandise not originally purchased from xyz will be
                            credited at the current lowest market price.</li>
                        <li>All returns are subject to a handling fee.</li>
                        <li>It is recommended to allow 14 business days for a credit to be processed. Please
                            note, merchandise returned at the end of the month may not be processed in time
                            to be reflected on the current month’s statement.</li>
                        <li>Merchandise that is deemed as unacceptable per manufacturer’s policy will not be
                            credited and will be returned at the customer’s expense.</li>
                    </ul>

以下是输出。它没有提出任何要点。我做错了什么?

aaaaaaaa
bbbbbbbb
cccccccc
dddddddd

2 个答案:

答案 0 :(得分:7)

听起来你正在使用某种CSS重置。注释掉并重试,它应该有用。

答案 1 :(得分:1)

看起来你可能需要查看你的CSS

检查正在说

的css
 ul, li { display:inline; AND list-style:none; OR float:left; }

无序'子弹'列表的标记是(如果这是你要求的话)..

 <ul>
  <li>aaaaaaa</li>
  <li>bbbbbbbbb</li>
  <li>ccccc</li>
  <li>dddddd</li>
  <li>eeeeee</li>
</ul>