Avatar of vson
vson
 asked on

DIV over IFRAME in Opera 6+

In IE and NS, I have a DIV(z-index=2) that has no problem displaying over an IFRAME(z-index=1).  However, in Opera the IFRAME is always displaying over the DIV.  

I've tried containing the IFRAME in another DIV but still get the same undesired result.  The IFRAME is a must since I need to change the SRC constantly.

Thanks in advance...
VSON
CSS

Avatar of undefined
Last Comment
SpideyMod

8/22/2022 - Mon
bruno

you must be using very new versions of NS and IE, because past versions would have had the same problem you are having with opera, where the IFRAME would always stay on top, as IFRAME had an infinite z-index.

It might just be that IE and NS have finally updated their browsers to fix this problem, and Opera has not yet.



BRUNO
boughtonp

Are you able to post the code?
Djerry

I wonder how you could get the IFrame 2 work in NS. Maybe you are using NS6.2, because I know that the earlier versions couldn't handle IFrames.
There is a workaround for your problem, by changing your Iframe to a DIV, but you'll need a little serverside coding.... Is this an option?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
lfabbric

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
vson

ASKER
Djerry,
You're correct that I'm using the latest browsers: Netscape 6.2+ and IE5.5+. However server-side scripting is not an option but I appreciate your input.

lfabbric,
That does work. However, hiding the iframe on mouseover is not an option since the iframe covers 80% of the page and would not be consistent with how IE and Netscape handle the current process. I do thank you for your input.

**********

Maybe one of these days we will have some kind of standard...I'm not holding my breath.
COBOLdinosaur

This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&
COBOLdinosaur

It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to Ifabbric

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SpideyMod

per recommendation

SpideyMod
Community Support Moderator @Experts Exchange