<li>不起作用。 MVC </LI>

时间:2013-04-19 21:24:15

标签: asp.net-mvc razor bulletedlist

我有一个视图,我试图将文本显示为项目符号项(<ul> <li>),但它似乎不起作用。我试过了<ul><li>而未将它们包含在<div>仍然没有运气。是什么阻止它在文本前显示子弹。

@model UDP.Models.MCVM 

@{
    ViewBag.Title = "MCReport";
    Layout = "~/Views/Shared/_reportsLayout.cshtml";
}

   <div class="span-24 last" >

         @* code for filling a grid goes here*@

  </div>

              <div class="prepend-1 span-22">
                  <strong> Notes : </strong>  
                 <ul type="circle" >

                     <li> All listings are sorted according to the user defined sort, and may not display in the order used to determine the median values.</li>
                     <li> Time ranges are based on a 360-day year commonly called the 'banking year'.</li>
                     <li> Listings are 'disqualified' from the median value calculations when their Selling, Expiration, or Inactive Date is more than 360 days from the current date.</li>
                     <li> The Sales Price/List Price calculations will be calculated using the original list price.</li>
                 </ul>
               </div>

<script type="text/javascript">
    function loadAndInit() {

        $(".dvloading").hide();
        if ($.browser.mozilla) {
            if (location.pathname == "/udp/Reports") {            // This is for local env.
                $("#prntCss").attr("href", "../../../Content/SitePrint_FF.css");
            }
            else {                                                  // This is for DEV/QA/STAGE/PROD env. 
                $("#prntCss").attr("href", "../../Content/SitePrint_FF.css");
            }
        }

    }
</script>

0 个答案:

没有答案