1

I'm building this webpage that has a popup div (with javascript/jquery) to show some text, but I keep having a problem. Behind this popup, there is a youtube embedded video (iframe) that on Internet Explorer only, stays in front of the pop up. I have tried using z-index property to fix it but nothing. On Chrome it works perfectly but IE ruins it. I have some alternatives, like fadding it out with the popup or setting its display to "none" but it doesn't look very good....

Any thoughts on how to send it to the back?

Tanks to you all,
cheers.

user2033250
  • 13
  • 1
  • 3

2 Answers2

1

Try adding this to your iframe url &wmode=opaque

Alternatively try ?wmode=transparent

Explanation: http://www.scorchsoft.com/news/youtube-z-index-embed-iframe-fix

Undefined
  • 10,466
  • 5
  • 35
  • 61
-2

Have you set zoom:1 in your CSS? IE requires zoom to be set for z-index.

Undefined
  • 10,466
  • 5
  • 35
  • 61
HankHendrix
  • 295
  • 2
  • 9