2010年08月Archive for

DIV覆盖Flash的方法

最近做了个项目,需要把DIV层放到Flash上面,CSS的z-index属性是不起作用的,有人找到了官方解释。

A Flash movie in a layer on a DHTML page containing several layers may display above all the layers, regardless of the stacking order (”z-index”) of those layers.

在网上查查,结果发现其实有很多方法的,试了几种,其实能用的不多,很多方法都有这样那样的问题,最后发现下面两种兼容性最好。

第一种:设置 Flash为 透明