Lude: 'form'-Element in Tabelle

Beitrag lesen

Hi,

ich hatte mich bedauerlicherweise unklar ausgedrueckt. Zweiter Versuch:

HTML-Code:

<html>
<body>
 <table>
  <thead>
   <tr>
    <th>N</th>
    <th>Bezeichnung_Name</th>
    <th>Ort_Name</th>
    <th>Kategorie_Name</th>
    <th>Sum</th>
    <th>W</th>
    <th>Count</th>
    <th>Min</th>
    <th>Max</th>
    <th>A</th>
    <th colspan="2">Aktion</th>
   </tr>
  </thead>
  <tr>
   <form action="rr-biz.pl">
    <td><input name="N" type="text" class="ganzflaechig"></input></td>
    <td><input name="Bezeichnung_Name" type="text" class="ganzflaechig"></input></td>
    <td><input name="Ort_Name" type="text" class="ganzflaechig"></input></td>
    <td><input name="Kategorie_Name" type="text" class="ganzflaechig"></input></td>
    <td><input name="Sum" type="text" class="ganzflaechig"></input></td>
    <td><input name="W" type="text" class="ganzflaechig"></input></td>
    <td><input name="Count" type="text" class="ganzflaechig"></input></td>
    <td><input name="Min" type="text" class="ganzflaechig"></input></td>
    <td><input name="Max" type="text" class="ganzflaechig"></input></td>
    <td><input name="A" type="text" class="ganzflaechig"></input></td>
    <td colspan="2"><input type="submit" class="ganzflaechig" value="Filtern!"></input></td>
    <td><input name="Session_GUID" type="hidden" value="8C322173-CD29-4778-9843-D604097B2277"></input></td>
    <td><input name="Sortierung" type="hidden" value="Count"></input></td>
    <td><input name="Query" type="hidden" value="BIZ_FAVORITEN"></input></td>
    <td><input name="WhatToDo" type="hidden" value="FilterQuery"></input></td>
   </form>
  </tr>
  <tr>
   <td>1</td>
   <td>Treff - Discount</td>
   <td>#</td>
   <td>TREFF - KONSUM</td>
   <td>4524.14</td>
   <td>EUR</td>
   <td>663</td>
   <td>1999-11-20 13:50:19.000</td>
   <td>2003-03-25 09:58:47.483</td>
   <td>***</td>
   <td colspan="2"><input type="button" class="ganzflaechig" value="Yo!"></input></td>
  </tr>
  <tr>
   <td>2</td>
   <td>Peter's</td>
   <td>Baden-Baden</td>
   <td>PETERS - KONSUM</td>
   <td>1079.70</td>
   <td>EUR</td>
   <td>592</td>
   <td>1999-01-04 00:00:00.000</td>
   <td>2003-03-25 09:56:34.967</td>
   <td>***</td>
   <td colspan="2"><input type="button" class="ganzflaechig" value="Yo!"></input></td>
  </tr>
</table></body></html>

Problem ist, dass das 'form'-Element der ersten Tabellenzeile wegen Muterelement 'tr' vom X(HT)ML-Validator bemeckert wird, weil 'form'-Element kein Tochterelement von "tr" sein darf.

Packe ich das 'form'-Element aber in ein 'td'-Element und da wieder eine Tabelle rein und darein wiederum die form. sieht es im Browser uebel aus.

Was tun?

Gruss,
Lude