Tabellenproblem

  • Themenstarter Themenstarter Paradizogeeko
  • Beginndatum Beginndatum
Status
Nicht offen für weitere Antworten.
P

Paradizogeeko

PHP:
echo "
<table width=\"494\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">
             <tr>
              <td width=\"491\"> C O N T E N T  </td>
              <td width=\"3\" valign=\"top\">
               <table height=\"100%\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"1\">
                <tr>
                 <td width=\"3\" valign=\"top\"><img src=\"./gfx/pixel.gif\" width=\"3\" height=\"3\" border=\"0\" alt=\"\"></td>
                </tr>
                <tr>
                 <td height=\"100%\" bgcolor=\"#5C5C5C\"><img src=\"./gfx/pixel.gif\" width=\"3\" height=\"3\" border=\"0\" alt=\"\"></td>
                </tr>
               </table>
              </td>
             </tr>
             <tr>
              <td height=\"3\" colspan=\"2\">
               <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">
                <tr>
                 <td width=\"3\"><img src=\"./gfx/pixel.gif\" width=\"3\" height=\"3\" border=\"0\" alt=\"\"></td>
                 <td width=\"100%\" bgcolor=\"#5C5C5C\"><img src=\"./gfx/pixel.gif\" width=\"3\" height=\"3\" border=\"0\" alt=\"\"></td>
                </tr>
               </table>
              </td>
             </tr>
            </table>";

Wie bekomme ich es hin, dass die Tabelle in der rechten Spalte immer 100% hoch ist und das 2. <tr> in dieser Tabelle alles bis auf die 3px oben ausfüllt ?! height=100% funktioniert im Tabletag irgendwie nicht ;p
 
height="100%" funktioniert,

aber du beschränkst ja die Tabelle schon auf 3px durch die Angabe in der td...

sprich du hast einen Quelltextfehler!

Letzte 11 Zeilen korigiert:

Code:
<tr> 
              <td colspan=\"2\"> 
               <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\" height=\"100%\"> 
                <tr> 
                 <td width=\"3\"><img src=\"./gfx/pixel.gif\" width=\"3\" height=\"3\" border=\"0\" alt=\"\"></td> 
                 <td width=\"100%\" bgcolor=\"#5C5C5C\"><img src=\"./gfx/pixel.gif\" width=\"3\" height=\"3\" border=\"0\" alt=\"\"></td> 
                </tr> 
               </table> 
              </td> 
             </tr> 
            </table>";
 
Status
Nicht offen für weitere Antworten.
Zurück