OBJECT& EMBED标签总是在顶部? [英] Are OBJECT & EMBED tags always on top?

查看:160
本文介绍了OBJECT& EMBED标签总是在顶部?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个网站,我做了流媒体视频,其开始
看起来很酷,但我在CSS中制作的菜单总是在视频
下有些链接消失在对象后面。

有谁知道我是否可以解决这个问题,我想我试过z-index一次
无济于事?

我刚刚转贴了这个问题,因为这也是我的问题。 解决方案

设置 wmode =transparent(透明背景)或 wmode =opaque(受到 bgcolor 影响的不透明背景)。

默认值是 window ,这意味着对象将拥有自己的窗口,所以它不是受网页中其他任何内容的影响。如果你将它设置为 transparent opaque ,它将成为页面的一部分。





 < object ...> 
< param name =wmodevalue =transparent/>
...
< embed wmode =transparent...>< / embed>
< / object>

这仅适用于 Flash AFAIK。 b

I have a site I made that I am streaming video on, its starting to look pretty cool but the menu I made in CSS is always under the video so some of the links dissappear behind the object.

Does anyone know if I can fix this, I think I tried z-index one time to no avail?

I just reposted this question since this is also my problem.

解决方案

Set wmode="transparent" (transparent background) or wmode="opaque" (opaque background affected by bgcolor).

The default value is window which means that the object will have its own "window", so it is not affected by anything else in the webpage at all. If you set it to transparent or opaque, it will become "a part of the page".

Like:

<object ...>
    <param name="wmode" value="transparent" /> 
    ...
    <embed  wmode="transparent" ...></embed>
</object>

This only applies to Flash AFAIK.

这篇关于OBJECT&amp; EMBED标签总是在顶部?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆