hi,
Es funktioniert mit Mozilla Firefox, allerdings nicht mit dem Internet Explorer.
Kommen Fehlermeldungen im IE?
table.setAttribute("id", "table");
setAttribute soolltest du vermeiden, da hat der IE oftmals Probleme mit.
Nutze stattdessen die folgende Syntax:
elementreferenz.attributname = wert;
Für obiges Beispiel also
table.id = "table";
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }