用CSS文件替换flash中的jpg文件 [英] Replacing jpg-file with flash in CSS-file

查看:61
本文介绍了用CSS文件替换flash中的jpg文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对不起我的愚蠢问题,但我无法正常工作。

Sorry my stupid question but I can't get it to work right.

我使用带有css文件的动态网页模板。我的主要部分的顶部使用了一个图像(引用了css文件中的一个部分),但不想替换为我的flash动画。

I use a dynamic web template with a css file. The top of my main paige uses an image (referenced to a section in the css-file) but wan't to replace with my flash animation instead.

我无法包装我的围绕如何做到这一点。我是否删除了css文件中的secion并插入了我的flash中的html代码或?

I can't wrap my head around how to do this. Do I delete the secion in the css-file and insert the html-code from my flash or?

我不想在css中替换的部分如下所示:

The section I wan't to replace in css looks like this:

#top_splash_index {

 宽度:960px;

 身高:320px;

 背景: url('../ images / index-splash.jpg')no-repeat;

  float:left;

}

#top_splash_index {
 width: 960px;
 height: 320px;
 background: url('../images/index-splash.jpg') no-repeat;
 float: left;
}

有人可以帮助新手吗?

 

推荐答案

放你的闪光灯HTML中要在其中显示的标记。

Put your flash markup in the HTML where you want it to display.

如果您不想要jpg背景,请从CSS中删除它。

If you don't want a jpg background, remove that from the CSS.


这篇关于用CSS文件替换flash中的jpg文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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