Grow your CSS skills. Land your dream job.

Giving an iFrame a z-index value…

  • # July 18, 2009 at 5:57 pm

    Hey guys, Google has not been my friend here – is it possible to give an iFrame a z-index value? Apparently this hasn’t worked since IE5 (!). Is there a workaround? Perhaps giving the iframe’s wrapping div the value instead?

    While I’m about it, I tried previously to place iframes within sliding divs but they wouldn’t conceal upon retraction of their div (the actual sliding worked fine, surprisingly for me!). I figure if I can sort the z-index thing out I might be able to MacGuyver a way around it…

    # July 19, 2009 at 4:04 am

    Never been a big fan of iFrames tbh. Not sure exactly what it is you are trying to do, but according to this it has only been supported since ie5.5 (so long as you are only loading html content into the iFrame) http://msdn.microsoft.com/en-us/library/ms537627%28VS.85%29.aspx#layering

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".