我有这个简单的html:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div style="position:absolute;">
<div style="position:absolute; display:block; z-index:999; left:450px;">stuff</div>
</div>
<object data='C:/mypdf.pdf' type="application/pdf" width="500px" heigth="500px" style="z-index:1;">
<p>stuff</p>
<p>stuff</p>
</object>
</body>
</html>
在IE浏览器中,我无法在pdf前面制作div,在其他浏览器中运行良好,
有什么疑问吗?
[编辑]
这是一个 JsFiddle
谢谢
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div style="position:absolute;">
<div style="position:absolute; display:block; z-index:999; left:450px;">stuff</div>
</div>
<object type="application/pdf" width="500px" heigth="500px" style="z-index:1;">
<param name="src" value="http://www.who.int/medicines/publications/essentialmedicines/18th_EML_Final_web_8Jul13.pdf" />
</object>
</body>
</html>