I am trying to overlay the image above the built-in pdf and iFrame.
This code causes the image to fall behind the iFrame (it is checked by changing the lower attribute by -10px, and the lower part of the image becomes visible)
Only the two methods that I knew about used z-index, and the absolute position of the fact should put the object on top, but none of them work.
<div id="images" style="float:right;position:relative" width="400" height="250">
<img src="images/Next_Black_Arrow.png" style="height:25px;width25px;float: left;z-index=10;position:absolute;bottom:10px;left:250px;">
<iframe SRC="testFiles/Categories of pattern matching characters.pdf#toolbar=0&navpanes=0&scrollbar=0" style="z-index=1;position:relative;" width="400" height="250"></iframe>
</div>
* Attributes for the absence of shared css
So far this works, unfortunately, not if you change the iframe link to pdf.
See http://jsfiddle.net/vr4rX/4/
I think this should be a bug in Adobe Reader. Perhaps it really will work.
source
share