I cannot get z-index working on a iframe that contains a pdf file with IE8. It works with Google Chrome.
Example (JSFiddle):
I Had been trying to fix the same issue and my scenario was similar. I was trying to render a youtube Video on my page and on top of the video i wanted to place some div with some information.
But the youtube video being contained into an iframe wasn't letting me do that. Irrespective of thez-index that i gave to the elements.
Then this post helped - https://stackoverflow.com/a/9074366/1484384
Basically its about the wmode. Check the above post to see how to work with it.
Here is some code from that post:
Or
//Fix z-index youtube video embedding
$(document).ready(function (){
$('iframe').each(function(){
var url = $(this).attr("src");
$(this).attr("src",url+"?wmode=transparent");
});
});