>I think that the
style element must be a child of
head, so putting it in innerHTML of a
body descendant element won't work.
>
>You can apply inline styling, though, so it would be something like this:
>
>
>window.parent.oDiv.innerHTML = "<div style='position: relative;'><div style='position: absolute; top: 10; right: 10;'>Test</div></div>";
>
Going inline does not change anything.
But, thanks for the suggestion