[Project_owners] document.implementation.createDocument() problem

Philip Chee philip at aleytys.pc.my
Fri Mar 18 13:22:30 EST 2005

Here is a snippet of code illustrating the problem:

var flashblockNewDoc = document.implementation.createDocument(
var placeholder = flashblockNewDoc.createElement("div");
var wdth = 32;
placeholder.style.width = wdth + "px";

At this point I get a javascript error:
"placeholder.style has no properties".

What am I missing?

(Note for certain reasons I don't want to use document.createElement)


Philip Chee <philip at aleytys.pc.my>
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Pascal Programmers do it with a Constant P$*#&$^%(*Oops, NO CARRIER
* TagZilla 0.057

More information about the Project_owners mailing list