• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

XTML, validator Fehler

Status
Für weitere Antworten geschlossen.

gordonfreeman

Neues Mitglied
Hallo,

ich kommt einfach nicht weiter, von ca 600 Fehlern bin ich runter auf 2 (wc3 Validator)

Line 144, Column 4: end tag for "ul" which is not finished .
</ul>
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.

Der Code dazu sieht so aus:

Code:
<ul>
<li><a class="menuButton" <cc:if cond="&page.ishome">style="font-weight:arial;"</cc:if> href="<cc:print value="&home.url">" onmouseover="menuTouch(event, '<cc:if cond="&mymaintopic.topiccount gt 0">topicmenu<cc:print value="&mymaintopic.number"></cc:if>');"><cc:print value="&site.ressource.home"></a></li>
<cc:loop type="maintopic" obj="mymaintopic">
<li><a class="menuButton" <cc:if cond="&mymaintopic.ispagemaintopic">style="font-weight:arial;"</cc:if> href="<cc:print value="&mymaintopic.url">" onmouseover="autoClose(event, '<cc:if cond="&mymaintopic.topiccount gt 0">topicmenu<cc:print value="&mymaintopic.number"></cc:if>');"><cc:print value="&mymaintopic.caption"></a></li>
</cc:loop>
</ul>


<div id="commonbox">
<ul>
<cc:loop type="commonpages" obj="mycommonpage">
<li><a class="blacklink" href="<cc:print value="&mycommonpage.url">"><cc:print value="&mycommonpage.caption"></a></li>
</cc:loop>
</ul>
</div>

Ich komm einfach nicht weiter .. bitte helft mir :-o

Grüße
 
Werbung:
Werbung:
Status
Für weitere Antworten geschlossen.
Zurück
Oben