如何添加Flash SWF作为HTML页面的背景? [英] How to add Flash SWF as background of a HTML page?

查看:404
本文介绍了如何添加Flash SWF作为HTML页面的背景?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,需要把它的swf文件的背景,并把其他东西it.how我可以这样做吗?

I have a site and need to put swf file background of it and put other thing on it.how can i do that?

推荐答案

我不明白你为什么要这样做。在任何情况下,没有正确的方法通过HTML只做。仍然,您可以使用z-index CSS属性,以这种方式:

I don't understand why you could want to do that. In any case, there's no proper way of doing it through HTML only. Still, you could use the z-index CSS property, this way:

MyCSS.css

MyCSS.css

* {
    z-index: 1;
}

.mySWFBackground {
    z-index: 0;
}


$ b < >

After this, your SWF element (in the HTML) should have

class="mySWFBackground"

我以前从来没有做过,但我想,会有一些奇怪的输出(像不可选择的内容,因此)。

I have never done it before, but I imagine that there will be some weird output (like unselectable content or as such).

这篇关于如何添加Flash SWF作为HTML页面的背景?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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