PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : w3c-konform - stehe auf dem Schlauch



Spike05
21-09-2004, 13:25
Stehe gerade ein wenig auf dem Schlauch. Ich möchte gerne in eine Webseite den Routenplaner von web.de einbauen. Ich erhalte aber immer noch folgenden Fehler:

1. Line 57, column 220: end tag for "FORM" omitted, but its declaration does not permit this

...width="10" height="1" alt="Bild"></td>


2. Line 57, column 31: start tag was here

<td width="10" rowspan="4"><form name="webderoute2" method="post" target="we

wie bekomme ich diesen Weg?

Hier der Code den ich einfüge:



<table border="0" cellpadding="0" cellspacing="0" width="435">
<tr bgcolor="#EBECEE">
<td height="37" colspan="9" valign="top"><img src="http://img.web.de/v/channelv2/specials/header.gif" border="0" width="435" height="37" alt=""></td>
</tr>
<tr>
<td height="2" colspan="9" valign="top"><img src="http://img.web.de/v/p.gif" border="0" width="435" height="2" alt=""></td>
</tr>
<tr bgcolor="#EBECEE">
<td height="11" colspan="9" valign="top"><img src="http://img.web.de/v/p.gif" border="0" width="435" height="11" alt=""></td>
</tr>
<tr bgcolor="#EBECEE">
<td width="10" rowspan="4"><form name="webderoute2" method="post" target="webde" action="http://portale.web.de/Auto/Routenplaner/"><img src="http://img.web.de/v/p.gif" border="0" width="10" height="1" alt="Bild"></td>
<td width="200" colspan="3"><img src="http://img.web.de/v/channelv2/specials/start.gif" border="0" width="93" height="15" alt=""></td>
<td width="15" rowspan="4"><img src="http://img.web.de/v/p.gif" border="0" width="15" height="1" alt=""></td>
<td width="200" colspan="3"><img src="http://img.web.de/v/channelv2/specials/ziel.gif" border="0" width="93" height="15" alt=""></td>
<td width="10" rowspan="4"><img src="http://img.web.de/v/p.gif" border="0" width="10" height="1" alt=""></td>
</tr>
<tr>
<td bgcolor="#0176E3" colspan="3"><img src="http://img.web.de/v/p.gif" border="0" width="200" height="1" alt=""></td>
<td bgcolor="#FFC800" colspan="3"><img src="http://img.web.de/v/p.gif" border="0" width="200" height="1" alt=""></td>
</tr>
<tr>
<td bgcolor="#0176E3" width="1"><img src="http://img.web.de/v/p.gif" border="0" width="1" height="1" alt=""></td>
<td width="198" bgcolor="#FFFFFF" align="center" valign="middle">
<table border="0" cellpadding="2" cellspacing="2" width="198">
<tr>
<td rowspan="3" width="1"></td>
<td colspan="2" width="180"><font face="Verdana, Arial, Helvetica" size="3"><input type="TEXT" name="fromstreet" value="Stra&szlig;e" size="12" style="width: 178px" tabindex="1" onfocus="javascript:if (document.webderoute2.fromstreet.value == 'Stra&szlig;e') document.webderoute2.fromstreet.value = '';"></font></td>
<td rowspan="3" width="1"></td>
</tr>
<tr>
<td width="58"><font face="Verdana, Arial, Helvetica" size="3"><input type="TEXT" name="fromplz" value="PLZ" size="3" style="width: 50px" maxlength="10" tabindex="2" onfocus="javascript:if (document.webderoute2.fromplz.value == 'PLZ') document.webderoute2.fromplz.value = '';"></font></td>
<td width="118"><font face="Verdana, Arial, Helvetica" size="3"><input type="TEXT" name="fromcity" value="Ort" size="8" style="width: 120px" tabindex="3" onfocus="javascript:if (document.webderoute2.fromcity.value == 'Ort') document.webderoute2.fromcity.value = '';"></font></td>
</tr>
<tr>
<td colspan="2"><font face="Verdana, Arial, Helvetica" size="2"><select name="fromcountry" tabindex="4" style="width: 178px">
<option value="---">Bitte w&auml;hlen...</option>
<option value="BEL">Belgien</option>
<option value="DNK">D&auml;nemark</option>
<option value="DEU">Deutschland</option>
<option value="FRA">Frankreich</option>
<option value="GBR">Gro&szlig;britannien</option>
<option value="ITA">Italien</option>
<option value="LIE">Liechtenstein</option>
<option value="LUX">Luxemburg</option>
<option value="NLD">Niederlande</option>
<option value="NOR">Norwegen</option>
<option value="AUT">&Ouml;sterreich</option>
<option value="PRT">Portugal</option>
<option value="SWE">Schweden</option>
<option value="CHE">Schweiz</option>
<option value="ESP">Spanien</option>
</select></font></td>
</tr>
</table>
</td>
<td bgcolor="#0176E3" width="1"><img src="http://img.web.de/v/p.gif" border="0" width="1" height="1" alt=""></td>
<td bgcolor="#FFC800" width="1"><img src="http://img.web.de/v/p.gif" border="0" width="1" height="1" alt=""></td>
<td align="center" valign="middle" bgcolor="#FFFFFF" width="198">
<table border="0" cellpadding="2" cellspacing="2" width="198">
<tr>
<td rowspan="3" width="1"></td>
<td><font face="Verdana, Arial, Helvetica" size="2"><b>Max Mustermann</b></font></td>
<td rowspan="3" width="1"></td>
</tr>
<tr><td><font face="Verdana, Arial, Helvetica" size="2"><input type="hidden" name="tostreet" value="Testweg 1">Testweg 1</font></td></tr>
<tr><td><font face="Verdana, Arial, Helvetica" size="2"><input type="hidden" name="tocountry" value="DEU"><input type="hidden" name="toplz" value="89233"><input type="hidden" name="tocity" value="Neu-Ulm">D - 89233 Neu-Ulm</font></td></tr>
</table>
</td>
<td bgcolor="#FFC800" width="1"><img src="http://img.web.de/v/p.gif" border="0" width="1" height="1" alt=""></td>
</tr>
<tr>
<td bgcolor="#0176E3" colspan="3"><img src="http://img.web.de/v/p.gif" border="0" width="200" height="1" alt=""></td>
<td bgcolor="FFC800" colspan="3"><img src="http://img.web.de/v/p.gif" border="0" width="200" height="1" alt=""></td>
</tr>
<tr bgcolor="#EBECEE">
<td height="50" colspan="9" align="center" valign="middle"><input type="image" src="http://img.web.de/v/channelv2/specials/route_button.gif" alt="0"></td>
</tr>
<tr><td height="10" colspan="9" ><img src="http://img.web.de/v/p.gif" width="1" height="10" border="0" alt="Bild"></td></tr>
</table>


Line 57 ist diese hier:
<td width="10" rowspan="4"><form name="webderoute2" method="post" target="webde" action="http://portale.web.de/Auto/Routenplaner/"><img src="http://img.web.de/v/p.gif" border="0" width="10" height="1" alt="Bild"></td>

Pingu
21-09-2004, 13:59
Hi,

er sagt doch, daß er das passende End-Tag zun <FORM>, also </FORM> vermisst.

Hintergrund: Du fängst das Formular innerhalb der Zelle an, also muß es auch innerhalb der Zelle wieder aufhören. Oder Du mußt halt das Formular um die ganze Tabelle legen.

Pingu

Spike05
21-09-2004, 14:01
Wenn ich das form-Tag schließe dann funktioniert das Teil nicht mehr.

Pingu
21-09-2004, 14:29
Ist auch klar, weil in einer anderen Zelle die entsprechenden Eingabefelder (<INPUT>) stehen. Also, wie ich oben schon geschrieben habe, mußt Du das Formular vor der Tabelle aufmachen und nach der Tabelle schliesen.

Pingu