Forum Moderators: open

Message Too Old, No Replies

i-Frame and IE issues.

         

ag_47

9:57 pm on May 15, 2008 (gmt 0)

10+ Year Member



I have an i-frame thats initially empty. (Doesn't contain any page).
While it's empty, I need i to be transparent - like it's not even there.
Then, when users click on certain links, a page should load inside th frame and displayed over the main page.
(In other words the iframe is only visible when a page loads inside it).

This works *perfectly* in FireFox, without any extra styles on anything. But in the blasted IE the empty frame has a solid white background that covers everything. I tried adding "background:none;" property, but no luck with IE again. This works in FF tough.

I can't toggle the visibility of the frame with "display: block/none" properties since this scribbles the design.
Any help on how to get rid of the background while the frame is empty?

ag_47

2:48 am on May 16, 2008 (gmt 0)

10+ Year Member



Well, I solved this using the visibility property, but it's not as clean as I hoped it'd be..