簡體   English   中英

Grails gsp / html:標記的無效位置(li)

[英]Grails gsp/html: Invalid location of tag (li)

在以下gsp / html代碼的第一行中出現錯誤-標記(li)的位置無效。

<li id="stackLIform2008">
<a class="stacked-nav-pill" onkeypress="loadStack('form2008'); return false" onclick="loadStack('form2008'); return false" href="#">Form 2008</a>
</li>

我不明白我在忽略什么。 有人可以幫忙嗎? 非常感謝。 -r

檢查<li>是否保存在<ul><ol>塊中。 如果沒有在問題中包含周圍的代碼,很難確定,但這就是錯誤所指向的地方。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM