Hi,

I'm creating an iframe object and trying to set its style:

var ifr=window.parent.document.createElement("iframe");
ifr.style = "border: 3px ridge;z-index:9000;position:absolute;top:
50px;left:50px";

But I get the error "setting a property that has only a getter" on tge
second line.

How come I cannot set the style?
What am I missing?