Vanel: Tabellenproblem

Beitrag lesen

Tach Leutz,

ich habe vor einigen Wochen damit angefangen mein Layout mit Tabellen zu gestallten. Nach einiger Zeit hat es sich aber erwiesen ,dass sich einzellne Tabellenzellen verschieben. Manchmal wird auch ein ungewollter Zeilenumruch erzwungen. Ich kann euch hier ja mal den Code geben:

--------------------------------------------------------------------
<table width="984" height="597" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="1" height="7" valign="top"></td>
    <td width="1" height="7" valign="top"></td>
    <td width="137" height="7" valign="top"></td>
    <td width="29" height="7" valign="top"></td>
    <td width="6" height="7" valign="top"></td>
    <td width="470" height="7" valign="top"></td>
    <td width="190" height="7" valign="top"></td>
    <td width="16" height="7" valign="top"></td>
    <td width="15" height="7" valign="top"></td>
    <td width="9" height="7" valign="top"></td>
    <td width="21" height="7" valign="top"></td>
    <td width="21" height="7" valign="top"></td>
    <td width="62" height="7" valign="top"></td>
    <td width="6" height="7" valign="top"></td>
  </tr>
  <tr>
    <td width="1" height="36" valign="top"></td>
    <td width="1" height="36" valign="top"></td>
    <td width="137" height="36" valign="top"></td>
    <td width="29" height="36" valign="top"></td>
    <td width="6" height="36" valign="top"></td>
    <td width="470" height="36" valign="top"></td>
    <td width="190" height="36" valign="top"></td>
    <td width="16" height="36" valign="top"></td>
    <td width="15" height="36" valign="top"></td>
    <td width="9" height="36" valign="top"></td>
    <td height="36" colspan="2" valign="top"></td>
    <td width="62" height="36" valign="top"></td>
    <td width="6" height="36" valign="top"></td>
  </tr>
  <tr>
    <td width="1" height="140" valign="top"></td>
    <td width="1" height="140" valign="top"></td>
    <td width="137" height="140" valign="top"></td>
    <td width="29" height="140" valign="top"></td>
    <td width="6" height="140" valign="top"></td>
    <td height="140" colspan="6" valign="top"></td>
    <td width="21" height="140" valign="top"></td>
    <td width="62" height="140" valign="top"></td>
    <td width="6" height="140" valign="top"></td>
  </tr>
  <tr>
    <td width="1" height="5" valign="top"></td>
    <td width="1" height="5" valign="top"></td>
    <td width="137" height="5" valign="top"></td>
    <td width="29" height="5" valign="top"></td>
    <td height="450" colspan="3" rowspan="3" valign="top" style="width: 100px; height: 100px;">
      <div style="width: 660px; height: 372px; overflow : auto;">
      </div></td>
    <td width="16" height="5" valign="top"></td>
    <td width="15" height="5" valign="top"></td>
    <td width="9" height="5" valign="top"></td>
    <td width="21" height="5" valign="top"></td>
    <td width="21" height="5" valign="top"></td>
    <td width="62" height="5" valign="top"></td>
    <td width="6" height="5" valign="top"></td>
  </tr>
  <tr>
    <td width="1" height="2" valign="top"></td>
    <td width="1" height="2" valign="top"></td>
    <td width="137" height="2" valign="top"></td>
    <td width="29" height="2" valign="top"></td>
    <td width="16" height="2" valign="top"></td>
    <td width="15" height="2" valign="top"></td>
    <td height="404" colspan="4" rowspan="2" valign="top"></td>
    <td width="6" height="2" valign="top"></td>
  </tr>
  <tr>
    <td width="1" height="382" valign="top"></td>
    <td width="1" height="382" valign="top"></td>
    <td width="137" height="382" valign="top"> <strong><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif">blablablablablablabl</td>
    <td width="29" height="382" valign="top"></td>
    <td width="16" height="382" valign="top"></td>
    <td width="15" height="382" valign="top"></td>
    <td width="6" height="382" valign="top"></td>
  </tr>
  <tr>
    <td width="1" height="21" valign="top"></td>
    <td width="1" height="21" valign="top"></td>
    <td width="137" height="21" valign="top"></td>
    <td width="29" height="21" valign="top"></td>
    <td width="6" height="21" valign="top"></td>
    <td width="470" height="21" valign="top"></td>
    <td height="21" colspan="2" valign="top"><font color="#FFFFFF" size="-7" face="Verdana, Arial, Helvetica, sans-serif"></td>
    <td width="15" height="21" valign="top"></td>
    <td width="9" height="21" valign="top"></td>
    <td width="21" height="21" valign="top"></td>
    <td width="21" height="21" valign="top"></td>
    <td width="62" height="21" valign="top"></td>
    <td width="6" height="21" valign="top"></td>
  </tr>
</table>
-------------------------------------------------------------------

Durch mein Design werden noch zahlreiche Tabellenzellen erzeugt damit es dann letztentlich passt. Sieht ein bisschen komisch aus aber es passt. So nun zu meiner richtigenn Frage... kann man die Tabelle irgendwie fest positionieren sodass sie in Netscape und IE gleich aussieht ? Vielleicht mit CSS ? Ich habe das ganze auch mal mit Ebenen versucht... komischerweise verschiebt sich da weniger als bei Tabellen. Wahrscheinlich weil die fest positioniert sind das fehlt mir halt bei den Tabellen noch.

PS.:Den Inhalt der Tabellenzellen habe ich extra rausgenommen ;-)

Danke

Vanel