Thomas: Tabelle soll sich an Inhal in <th rowspan> Zelle anpassen.

Beitrag lesen

Danke schonmal für die Antworten.

Habe es mal versucht und bekomme jetzt die Tabelle so angezeigt:

http://img174.imageshack.us/img174/6171/tabellenproblemmw2.jpg

Wie man sieht, passen sich die beiden Zellen links und rechts nicht richtig an die Höhe der mittleren Zelle an....

Hier auch mal den Code, den ich dafür verwendet habe (den Content habe ich zur Übersichtlichkeit mal rausgenommen):

<!-- Test für Content Box -->

<table width="665px" border="0" align="center" cellpadding="0" cellspacing="0">
 <tr style="height:15px">
  <td style="background-image:url(images/box_ol.gif);background-repeat:no-repeat;background-position:top left;width:18px;""></td>
  <td style="background-image:url(images/box_o.gif);background-repeat:repeat-x;background-position:top center;"></td>
  <td style="background-image:url(images/box_or.gif);background-repeat:no-repeat;background-position:top right;width:18px;"></td>
  </tr>
  <tr>
  <td style="background-image:url(images/box_l.gif);background-repeat:repeat-y;background-position:top left;width:18px;"></td>
  <td rowspan="2" bgcolor="#ffffff" style="background-image:url(images/box_u.gif);background-repeat:repeat-x;background-position:bottom center;">

<!-- CONTENT BEGIN -->

<!-- CONTENT END -->

</td>
  <td style="background-image:url(images/box_r.gif);background-repeat:repeat-y;background-position:top right;width:18px;"></td>
  </tr>
  <tr style="height:45px">
  <td valign="bottom" style="background-image:url(images/box_ul.gif);background-repeat:no-repeat;background-position:top left;width:18px;"></td>
  <td valign="bottom" style="background-image:url(images/box_ur.gif);background-repeat:no-repeat;background-position:top right;width:18px;"></td>
  </tr>
</table>

<!-- Ende des Tests -->