2012-11-29 24 views
0

我在使用Google Chrome瀏覽器瀏覽頁面時遇到問題。當Google Chrome插件「Chrome PDF Viewer」被禁用時,正在顯示的PDF與每個對象重疊。以下是一個示例代碼。PDF查看器與Google Chrome中的頁面上的其他對象重疊

<html> 
<head> 

</head> 
<body> 
    <div style="border: solid red 2px; position:absolute;z-index:100;background-color:Green;height:100px;width:250px;"></div> 

    <div style="position:absolute;z-index:10;margin-left:100px;"> 
    <iframe visible="true" id="ipdf" src="http://www.irs.gov/pub/irs-pdf/fw4.pdf" height="1000" width="1000" runat="server" frameborder="0" scrolling="auto" > 

    </iframe> 
    </div> 

</body> 
</html> 

任何建議都會有幫助。

回答

0

您是否認爲它可以更好地工作?在帶有Adobe Reader插件的Internet Explorer中? 據我所知,它有相同的問題,你必須使用另一個iframe覆蓋區域。