1

我只是想在 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
4

2 回答 2

7

听起来您正在使用某种 CSS 重置。将其注释掉并重试,它应该可以工作。

于 2012-05-15T18:54:31.747 回答
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>
于 2012-05-15T18:58:39.270 回答