I want to get my DIV over a PDF. This example works fine with FF but does not work with IE 8 / 9. note: this is the same result whatever PDF pointed too.
<html>
<head></head>
<body>
<div style="position:absolute;z-index:1000;background-color:pink;z-index:1000">
I'm over PDF
</div>
<iframe src="http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf" style="width:100%;height:100%;z-index:0">
</body>
</ht开发者_JAVA百科ml>
Found a solution here You basically need to insert and empty iframe below the div but overlaying the PDF and play with Z-index : pdf (1), background iframe (50), content div (100).
精彩评论