zclip not working inside table

吃可爱长大的小学妹 提交于 2019-11-30 16:41:17

问题


I put my example code here http://jsfiddle.net/8epWm/2/

I want to enable zClip on an element inside a table and it's not working. Any ideas?


回答1:


Table elements have trouble with absolute positioning, and zClip uses absolute positioning to place the flash movie on top of the target element.

To work around this you can wrap a block level element (I used a <div>) around the target element, and give that position: relative.

Edit: See http://jsfiddle.net/dloewen/Ny9We/2/ for a working example.




回答2:


I might also add -- I found that if a z-index is set on the target element, it breaks the functionality of zClip (it's covering the flash element).



来源:https://stackoverflow.com/questions/8673681/zclip-not-working-inside-table

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!