Bräuchte mal bitte einen Tipp um Valid Fehler zu finden?

Ok das habe ich ja verstanden,aber selbst wenn ich den Code ändere,so das das <tbody> enthalten ist bleiben die Fehler?

Hier mal der Code der Jetzt drinne ist:
HTML:
<div class="inner"><span class="corners-top"></span>
         	<div class="top">
            <div class="tl">&nbsp;</div>
            <div class="tr">&nbsp;</div>
            <div class="tm">&nbsp;</div>
         </div>
         <div class="ml">
         <div class="mr">
         <div class="mm">
         <div class="forabg">
	<div class="inner"><span class="corners-top"></span>
	<table class="table1" cellspacing="1" id="top_five">
		<thead>
		<tbody>
		<tr>
			<th style="width: 50%;">Top5 des PHPBB-Service</th>
		</tr>
		</tbody>
		</thead>
	</table>
<span class="corners-bottom"></span></div>
</div>
<div class="forabg">
	<div class="inner"><span class="corners-top"></span>
		<table class="table1" cellspacing="1" title="top_five">
		<thead>
		<tbody>
		<tr>
			<th style="width: 50%;">{L_NEWEST_TOPICS}</th>
			<th style="width: 20%;">{L_TOP_FIVE_ACTIVE}</th>
			<th style="width: 30%;">{L_TOP_FIVE_NEWEST}</th>
		</tr>
		</tbody>
		</thead>
		<thead>
		<tbody>
			<tr class="bg2">
					<td valign="top"><!-- BEGIN top_five_topic --><!-- IF top_five_topic.NO_TOPIC_TITLE-->{top_five_topic.NO_TOPIC_TITLE}<!-- ELSE --><a href="{top_five_topic.U_TOPIC}">{top_five_topic.TOPIC_TITLE}</a><br />&nbsp;&nbsp;{top_five_topic.USERNAME_FULL}&nbsp;&nbsp;{top_five_topic.LAST_TOPIC_TIME}<br /><!-- ENDIF --><!-- END top_five_topic --></td>
					<td valign="top"><!-- BEGIN top_five_active -->{top_five_active.USERNAME_FULL}<br />&nbsp;&nbsp;{L_POSTS}: <a href="{top_five_active.S_SEARCH_ACTION}">{top_five_active.POSTS}</a><br /><!-- END top_five_active --></td>
					<td valign="top"><!-- BEGIN top_five_newest -->{top_five_newest.USERNAME_FULL}<br />&nbsp;&nbsp;{L_JOINED}: {top_five_newest.REG_DATE}<br /><!-- END top_five_newest --></td>
				</tr>
		</tbody>
		</thead>
		</table>

	<span class="corners-bottom"></span></div>
</div>
         </div>
         </div>
         </div>
         <div class="bottom">
            <div class="bl">&nbsp;</div>
            <div class="br">&nbsp;</div>
            <div class="bm">&nbsp;</div>
         </div>
         <span class="corners-bottom"></span></div>
auch wenn ich das <th in td ändere,bleiben die Fehler?
 
Ließ dir doch mal bitte die DTDs durch! Und selbst vom Namen her müsstest du erkennen, dass das Unsinn ist, denn Head <> Body!
HTML:
<table>
  <thead>
    <tr>
      <td></td>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td></td>
    </tr>
  </tbody>
</table>
 
DTD's?
Sorry ich verstehe nicht was ist unsinn,so wie ich die <tbodys> gesetzt habe oder?

Sorry ich kenne mich noch nicht so gut mit html aus.
 
Ja, das ist Unsinn.

Ich versteh nur nicht, wo das Problem ist, einfach unsere Beispiele anzuschauen und reinzukopieren.
Den Unterschied von deinem und dem hier erkennt man doch:
tbody gehört nicht in thead rein, sondern danach.
Schau dir mal auf http://www.selfhtml.org oder Ähnlichem ein paar Beispiele an,
wie tables gemacht werden und was welche Bedeutung hat.

Außerdem ist das Ganze hier nicht das eigentliche Problem: dein CMS.
Ich vermute mal stark, dass diese tables generiert werden?
Wenn ja hilft es überhaupt nichts, für einzelne Seiten Verbesserungen zu ermitteln,
weil die Wurzel vom Ganzen bei PHP und/oder irgendwelchen Templates liegt.

Btw, eine DTD ist einfach gesagt eine Beschreibug, was wie und wo erlaubt ist.
 
mmmhhh genau so wie du es beschreiben tust steht es im Orginal Code doch drinne?

Orginal Code aus Besagter Datei:
HTML:
<div class="inner"><span class="corners-top"><span></span>
         	<div class="top">
            <div class="tl">&nbsp;</div>
            <div class="tr">&nbsp;</div>
            <div class="tm">&nbsp;</div>
         </div>
         <div class="ml">
         <div class="mr">
         <div class="mm">
         <div class="forabg">
	<div class="inner"><span class="corners-top"><span></span>
	<table class="table1" cellspacing="1" id="top_five">
		<thead>
		<tr>
			<th style="width: 50%;">Top5 des PHPBB-Service</th>
		</tr>
		</thead>
	</table>
<span class="corners-bottom"><span></span></div>
</div>
<div class="forabg">
	<div class="inner"><span class="corners-top"><span></span>
		<table class="table1" cellspacing="1" title="top_five">
		<thead>
		<tr>
			<th style="width: 50%;">{L_NEWEST_TOPICS}</th>
			<th style="width: 20%;">{L_TOP_FIVE_ACTIVE}</th>
			<th style="width: 30%;">{L_TOP_FIVE_NEWEST}</th>
		</tr>
		</thead>
		<tbody>
			<tr class="bg2">
					<td valign="top"><!-- BEGIN top_five_topic --><!-- IF top_five_topic.NO_TOPIC_TITLE-->{top_five_topic.NO_TOPIC_TITLE}<!-- ELSE --><a href="{top_five_topic.U_TOPIC}">{top_five_topic.TOPIC_TITLE}</a><br />&nbsp;&nbsp;{top_five_topic.USERNAME_FULL}&nbsp;&nbsp;{top_five_topic.LAST_TOPIC_TIME}<br /><!-- ENDIF --><!-- END top_five_topic --></td>
					<td valign="top"><!-- BEGIN top_five_active -->{top_five_active.USERNAME_FULL}<br />&nbsp;&nbsp;{L_POSTS}: <a href="{top_five_active.S_SEARCH_ACTION}">{top_five_active.POSTS}</a><br /><!-- END top_five_active --></td>
					<td valign="top"><!-- BEGIN top_five_newest -->{top_five_newest.USERNAME_FULL}<br />&nbsp;&nbsp;{L_JOINED}: {top_five_newest.REG_DATE}<br /><!-- END top_five_newest --></td>
				</tr>
		</tbody>
		</table>
 
mmmhhh genau so wie du es beschreiben tust steht es im Orginal Code doch drinne?
...
HTML:
	<table class="table1" cellspacing="1" id="top_five">
		<thead>
		<tr>
			<th style="width: 50%;">Top5 des PHPBB-Service</th>
		</tr>
		</thead>
	</table>
Wo ist hier tbody? :rolleyes:

Nochmal: Wie hela auch bestätigt hat darf eine table mit thead nicht ohne tbody sein.
Das thead selbst ist kein Problem. Aber es reicht allein nicht.
 
A mein Gott jetzt hat ers,aber ich kann doch da kein leeres <tbody> rein setzen oder?

Das müsste ich dann aber.

So danke für eure hilfe,ich habe es hinbekommen der fehler ist weg und lag an Javascript Code in der overall_header.html,aber es gibt noch einen fehler der Letzte und an dem Verzweifel ich den ich finde ihn nicht als fehler steht da nur:
Code:
Spalte:9389Fehler:Endtag für unvollständiges Element table Fehlerstelle:</table>

http://www.validome.org/validate/?uri=http://www.phpbb-service.de
 
Zuletzt bearbeitet von einem Moderator:
Der Validator prüft kein JS.

Und ich frage mich doch langsam, ob das wirklich so schwer ist?
Das tbody bei dieser einen Tabelle fehlt noch immer.

Und das glaub ich auch noch immer:
Außerdem ist das Ganze hier nicht das eigentliche Problem: dein CMS.
Ich vermute mal stark, dass diese tables generiert werden?
Wenn ja hilft es überhaupt nichts, für einzelne Seiten Verbesserungen zu ermitteln,
weil die Wurzel vom Ganzen bei PHP und/oder irgendwelchen Templates liegt.
 
Ihr hattet recht es lag an dem <thead><tbody> ich konnte es nun beheben und die offenen Tags waren weg.

Vielen dank für eure Hilfe.

ich habe aber nun noch eine Frage zum <br /> und zwar meckert er:
Code:
Spalte:7525Fehler:br ist an dieser Stelle nicht erlaubt.

                                Es befindet sich evtl. ein Block-Element innerhalb eines
                                Inline-Elements.

                                Auch verschachtelte Block-Elemente könnten diesen Fehler verursachen, da
                                Block-Elemente nicht beliebig verschachtelt werden dürfen. Dies ist abhängig
                                von den verwendeten [X]HTML-Elementen. Fehlerstelle:<br /><dd><strong>Level:</strong> 3[<img src='images/level/s_yellow.gif' alt
die besagte Zeile sieht so aus:
Code:
<br /><dd><strong>{L_LEVEL}</strong> {postrow.POSTER_LEVEL}[{postrow.POSTER_STAR}]</dd>
an welchen stellen ist <br /> den erlaubt und was gibt es für alternativen?
 

Neue Beiträge

Zurück