HOW TO: Change the location of a floating iFrame?

G

gsb

I am trying to relocate a floating iFrame on a page like I would a DIV:
getElementById( "DIVid" ).style.top = "200px";
getElementById( "DIVid" ).style.left = "200px";

....and size:
getElementById( "DIVid" ).style.width = "500px";
getElementById( "DIVid" ).style.height = "300px";

Fine is IE but Netscape does not like it when I use the iFrameID instead of
the DIVid

So, does anyone know how to change these style properties on the iFrame
itself?

Thanks,

gsb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top