layer on top of PDF

后端 未结 6 1039
一向
一向 2020-11-29 04:27

So, the problem I face is like this: I have a layer, which it will be placed on top of a pdf on the page. The PDF is either using to embed, or iframe to include it. Howeve

6条回答
  •  Happy的楠姐
    2020-11-29 05:33

    Generally you can get around these z-index issues by placing an iframe shim directly under the div. That is, it has the same size and location (but no actual content). I'm not 100% sure this works for PDFs, but I know this fixes some other z-index issues (such as select boxes on IE6).

    iframe shims can be a pain if you're placing the div dynamically, since you have to move the iframe shim with it.

提交回复
热议问题