css - iframe in FireFox not respecting z-index -


i have youtube video embedded in site (in iframe) , have menu triggered jquery pop on page. works fine in chrome, in firefox iframe appears on top of menu.

i tried setting iframes z-index less pop boxes, eg:

iframe { position: absolute; z-index: 10; }  #popup { position: absolute; z-index: 99; } 

but didnt change - iframe still appears on pop box.

would know way deal this?

try adding wmode, seems have 2 parameters.

&wmode=opaque &wmode=transparent  <iframe title="youtube video player" width="480" height="390" src="http://www.youtube.com/embed/lzqgar_j1pi?wmode=transparent" frameborder="0" wmode="opaque"> 

for more info check

youtube video embedded via iframe ignoring z-index?


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -