开发者

img falls behind object(embedded youtube vid) with z-index attribute

Im trying to place a png image over an object element containing a youtube video

here:

<object>
scripts...
</object>

<img src='src' style='position:absolute;top:-10px;z-index:99;'/>

the position property is not applied to the object and yet once the embedded video loads, it overlaps the img. It doesn't push the img down, it just overlaps it.

solution?开发者_运维问答


I found the solution:

wmode="transparent"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜