CSS底部背景

html-css021

CSS底部背景,第1张

修改以后的底部背景代码:#main{ width:1000px!important background-image: url(http://hiphotos.baidu.com/%D1%A9%BB%AA%E7%B2/pic/item/af877ce6164e400eb8382048.jpeg

) background-repeat: no-repeat background-position: center bottom padding: 0px 0px 620px 0px!important margin-top: -30px margin-right: 0px margin-left: 0px margin-bottom:-60px!important}/*底部背景*/---------------------------------请自己根据自己的需要调试参数,如有疑问请留言,或hi~

#m_pro div.image{}加入background:url(http://hi.baidu.com/0454ldk) no-repeat bottompadding-bottom:100px

bottom让图片沉底

padding-bottom增加头像模块底下的宽度

padding-bottom数值一般设置为LOGO的高度值,LOGO的上边与头像的下边距离0,加大padding-bottom的数值,LOGO的上边与头像的下边距离亦加大

/*去除模块背景即完全背景透明*/

删除模块background-color:……的属性加background:transparent即可

在header{}中加入

background:transparent 这个参数的作用是使完全背景透明,并删除原来的属性background:url(http://hi.baidu.com/0454ldk)

#header div.rc{}以及.stage{}与header{}同样设置

可以去看看由下角http://hi.baidu.com/qq80366175

或着你要的是

/*空间透明*/

.modbox,.modbl,.modbc,.modbr{filter:alpha(opacity=80)-moz-opacity:0.8width:auto !importantwidth:100%}