beides funktioniert nicht ganz. So gehts: Hintergrundbild in Tabelle von Netscape

Beitrag lesen

<html>
<table border=0 cellspacing=0 cellpading=0>
   <tr>
   <script>

//Browser = Netscape > 4
if (document.layers) {
document.write("<td background="test1.gif">")
document.write("<table border="0" background="" width=518>")
document.write("<tr><td>")
document.write("Zelleninhalt")
document.write("</td><td align=right>")
document.write("Zelleninhalt")
document.write("</td></tr></table></td>")
}
// Browser = IE > 4
if (document.all) {
      document.write ("<td>");
       document.write("<table border="0" background="test1.gif" width=518>")
document.write("<tr><td>")
document.write("Zelleninhalt")
document.write("</td><td align=right>")
document.write("Zelleninhalt")
document.write("</td></tr></table></td>")

}
</script>
</tr>
</table>  
</html>.