IE Darstellungsfehler Tabelle

PatrickB

Well-known member
ID: 137508
L
24 April 2006
496
13
Hi,

ich gebe in einer Tabellenreihe einen height-Wert an damit das Hintergrundbild der Tabelle richtig dargestellt wird.
Beim Firefox klappt das auch da ich die Höhe des Bildes angebe:

b1.jpg


Beim IE wird es allerdings so dargestellt:

b2.jpg


Hier mal der Codeabschnitt:

PHP:
<table border="0" cellspacing="0" cellpadding="7">
            <tr>
            <td width="400"  height="34" bgcolor="red" style="background:url(forum/bkg.gif) repeat-x;">Forum</td>
            <td width="300"  height="34" bgcolor="red" align="center" style="background:url(forum/bkg.gif) repeat-x;">Letzer Beitrag</td>
            <td width="120"  height="34" bgcolor="red" align="center" style="background:url(forum/bkg.gif) repeat-x;">Themen</td>
            <td width="120"  height="34" bgcolor="red" align="center" style="background:url(forum/bkg.gif) repeat-x;">Beiträge</td>
            </tr>
                  <tr>
                  <td width="350" height="34" bgcolor="#F3D163" style="background:url(forum/titel_2r.gif) repeat-x;"><a name="show4" class="noformat" href="#show4">Sonstiges</a></td>
                  <td colspan="3" bgcolor="#F3D163" style="background:url(forum/titel_2r.gif) repeat-x;"></td>
                  </tr><tr>
                          <td width="350" bgcolor="#F3D163"><a class="mainlink" name="show5" href="link"><b>Text</b></a><br><span style="font-size:10px;"></span></td>
                              <td align="left" valign="middle" bgcolor="#D2B455">
...

Wo liegt der Fehler?

Danke schonmal!
 
Ja, hab diesen hier drinne:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "https://www.w3.org/TR/html4/loose.dtd">