hi,
var attr = document.createAttribute("style");
attr.nodeValue = "table-layout:fixed";
mytable.setAttributeNode(attr);Wenn ich es jedoch mit IE 6.0 probiere bekomme ich in der letzten Zeile die Fehlermeldung:
Error: member not found
setAttribute ist im IE oftmals problematisch.
idR. dann, wenn er noch eine "direkte" möglichkeit kennt, auf das entsprechende attribut zuzugreifen.
probier's doch mal über das style-objekt.
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }