toby irmer: NS 4.x, vspace in verschachtelten Tabellen

Helau,

mein Problem ist, dass NS 4.x (4.7 getestet) bei Benutzung von vspace und hspace im <table>-Tag die Tabelle über die Tabellengrenze, in der die Tabelle, die vom Text umflossen werden soll, enthalten ist, hinaus verschiebt.

Make sense? Hier der Code...

Hat jd. ne Idee? Erzählt mir bitte nichts von Browserstatistiken, das ist nur ne Ausrede... ;) border ist auf 1, damit man die Grenzen auch sieht :)

toby

<table cellpadding="0" cellspacing="0" border="1">
 <tr>
  <td><img src="img/spacer.gif" width="1" height="4" border="0" alt=""></td>
 </tr>
 <tr>
 <td><img src="img/titel_home.gif" width="129" height="19" border="0" alt=""></td>
 </tr>
 <tr>
  <td><img src="img/spacer.gif" width="1" height="10" border="0" alt=""></td>
 </tr>
 <tr>
  <td width="453">
   <table cellpadding="0" cellspacing="0" border="0"  align="right" vspace="10" hspace="10" width="202">
    <tr>
     <td bgcolor="#000566"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
     <td bgcolor="#000566"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
     <td bgcolor="#000566"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
    </tr>
    <tr>
     <td bgcolor="#000566"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
     <td><img src="img/bilder/schule_small.jpg" alt="" width="200" height="150" border="0"></td>
     <td bgcolor="#000566"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
    </tr>
    <tr>
     <td bgcolor="#000566"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
     <td bgcolor="#000566"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
     <td bgcolor="#000566"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
    </tr>
    <tr>
     <td colspan="3">
      <table cellpadding="0" cellspacing="0" border="0">
       <tr>
        <td bgcolor="#F0F0F0"><img src="img/spacer.gif" width="5" height="5" border="0" alt=""></td>
        <td bgcolor="#F0F0F0"><img src="img/spacer.gif" width="192" height="1" border="0" alt=""></td>
        <td bgcolor="#F0F0F0"><img src="img/spacer.gif" width="5" height="1" border="0" alt=""></td>
       </tr>
       <tr>
        <td bgcolor="#F0F0F0"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
        <td width="192" class="box" bgcolor="#F0F0F0">Der Neubau im Regen</td>
        <td bgcolor="#F0F0F0"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
       </tr>
       <tr>
        <td bgcolor="#F0F0F0"><img src="img/spacer.gif" width="1" height="5" border="0" alt=""></td>
        <td bgcolor="#F0F0F0"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
        <td bgcolor="#F0F0F0"><img src="img/spacer.gif" width="1" height="1" border="0" alt=""></td>
       </tr>
      </table>
     </td>
    </tr>
   </table>
  <span class="text">
   The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl.
   <br>
   The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl. The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl. The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl.
   <br>
   <br>
   The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl.
 The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl.
   <br>
   The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl. The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl. The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl. The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl.
   <br>
   <br>
   The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl.
 The quick brown fox jumped over the moon. Only there did he find what he had always been looking for, a giant sea shell with a pearl.
  </span>
 </td>
 </tr>
</table>

  1. alaaf,

    die attribute v + hspace sind für den table tag nich gültig. du kannst das ganze über cellspacing und -padding regeln. probiers mal aus!

    Mini ;o}

    1. die attribute v + hspace sind für den table tag nich gültig. du kannst das ganze über cellspacing und -padding regeln. probiers mal aus!

      nee, nee. damit kriegste keinen umfluss bei dem der text unter dem bild dann über die gesamte länge läuft. da müsste ich ja eine tabellenzelle mit insgesamt 6 ecken definieren können, oder? ;)

      vspace ist offiziell nicht gültig für <table>, funzt aber im ie (ach nee ;)) wunderbar. irgendne schmu-lösung muss sich da doch finden lassen?

      1. erst denken, dann schreiben ;)

        du meinst natürlich in der zweiten tabelle.. das sollte gehen, ich mach mich gleich ma ran.

        thx.

        toby :)

        1. danke für den denkanstoß. eine spalte und eine zeile mehr tun es natürlich auch :)

          toby