如何把div固定在底层,flash动画置于底层。

问题描述:有时候我们需要用到背景图,或者背景动画。那么我们就需要把背景图/动画。置于页面的最底层了。

1、背景图置于底层

    方法一:给div添加相对应的属性   

	<div style="position:fixed;height: 100%; width:100%;bottom:0px;">

    方法二:z-index属性。z-index值越大,就越在上面。(不适用于,flash动画)

2、flash动画置于底层 (参考下面链接)

https://zhidao.baidu.com/question/118222092.html

猜你喜欢

转载自blog.csdn.net/tomwildboar/article/details/81017254
今日推荐