将.PDF文件插入HTML页面的替代方法 [英] Alternate method of inserting a .PDF file into HTML page
问题描述
目前我正在使用一个嵌入标签,其中src指向.pdf的位置,但是embed标签不允许将z-index操作或其他div标签放在它上面。在广泛搜索修复以允许嵌入标记z-index操作后,我发现它是adobe,不允许这种情况发生在他们的pdf文件中。
Currently I'm using an embed tag with the src directed to the location of the .pdf however the embed tag does not allow for z-index manipulation or other div tags to be placed over it. After extensive searching for a fix to allow for embed tag z-index manipulation I have found that it is adobe that will not allow this to happen with their pdf files.
我需要一种方法将pdf文档插入(不使用embed或iframe标签)到html页面,并允许其他div重叠。
I need a way to insert (without using embed or iframe tags) a pdf document into an html page and allow other divs to overlap it.
请帮助!
推荐答案
< object>标签,也许?如果不这样做,Adobe可能会赢得这个。
The <object> tag, maybe? If that won't do it, Adobe's probably going to win this one.
这篇关于将.PDF文件插入HTML页面的替代方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!