百度空间模板代码的问题

来源:百度知道 编辑:UC知道 时间:2024/05/29 06:46:57
我的百度空间的底部的部分(如图)
用IE看的到,而换成firefox就不行了。
整个底部的图片都看不到。
具体下面的代码是这样:
怎么修改呢?

/*脚*/
div#main{height:89px;width:760px;background:url(图片的地址) bottom center no-repeat; padding-bottom:85px !important}

#main{
background: url(图片地址) no-repeat center bottom; padding: 0!important; padding-bottom: 70px!important; margin: 0!important; margin-bottom: -20px!important; width: 760px!important;
}
-----------------------------
数据自己调试。。。

一般说来,.stage元素是覆盖在#main上面的,#main中加载的图片如果作为脚图的话,会被.stage覆盖掉,所以看不到

在FF中因为对padding属性的解析关系,所以.stage的图片会一直覆盖到结尾,导致#main被整个覆盖掉,这是用padding也搞不定的

你把它和.stage的背景图互换,.stage的背景图用不平铺的脚图,#main的背景图用纵向平铺图,还有把这里的height:89px删掉