怎样在51主页里添加背景图片

html-css010

怎样在51主页里添加背景图片,第1张

太抠了吧。不给分啊。。不过帮你了。。。

看好了。。。

1.进入你的空间----|设置|----|高级设置|-----自定义CSS可以让您: • 直接编辑CSS文件,实现个性化效果----|开始自定义|

2.删除开头处的以下语句:

body{background-color:#FFFFFF}

#header{height:89pxbackground:#CDF991}

#header div.lc{}

#header div.rc{background:url(http://img.baidu.com/hi/temp9/hdr.jpg) no-repeat top right}

3.删除第20几行处的这条语句:

.stage{background:#DFFFB2}

4.在开头位置复制并粘贴以下语句:

body {background:url(http://daobalang.yourfreewebspace.com/others/7e6293237eedb944ad34de82.jpg) repeat fixed!important}

#m_pro{background:transparent}

#m_album{background:transparent}

#m_blog{filter:alpha(opacity=80)-moz-opacity:0.8width:auto !importantwidth:100%}

#header{height:89px}

#m_links{filter:alpha(opacity=80)-moz-opacity:0.8width:auto !importantwidth:100%}

5.按|保存修改|退出

透明的背景音乐的播放器http://hi.baidu.com/tchzx/blog/item/97f7b909d38ada246a60fbb6.html

m_blog div.tit{font-size:14pxfont-weight:boldline-height:24pxtext-indent:120pxbackground:url(图片地址)no-repeat}

文章列表3

#tabline{top:89pxbackground:url(图片地址)no-repeat bottompadding-bottom: 32pxmargin-bottom: 6px}

相册

#m_album div.image{text-align:centerbackground:url(图片地址) no-repeat bottompadding-bottom: 45pxmargin-bottom: 1px}

友情链接

#m_links div.line{margin-top:5pxline-height:8pxborder-top:1px solid #F4C1B5background:url(图片地址)norepeat bottompadding-bottom: 16pxmargin-bottom: 10px}

最新评论

#m_comment div.item{color:#000000font-size:12pxbackground:url(图片地址) no-repeat bottompadding-bottom: 22pxmargin-bottom: 6px}

文章分类

#m_artclg div.line{margin-top:5pxline-height:8pxborder-top:1px solid #F4C1B5background:url(图片地址) bottompadding-bottom:16pxmargin-bottom: 10px}

其他区域

#comm_info div.line{margin-top:5pxline-height:8pxborder-top:1px solid #BBC1C6background:url(图片地址) no-repeat bottompadding-bottom: 22pxmargin-bottom: 6px}

个人控制条中间

#tabline{margin-top:-131pxright:5pxline-height:8pxbackground:url(图片地址) no-repeat bottompadding-bottom: 40pxmargin-bottom: 10px}/*个人控制条日期显示*/

还有什么不懂的,就到51站长室去看看

http://bbs.51.la/viewthread.php?action=printable&tid=25718

51做博客不太好。劝告你换一个。看看我的博客的效果。

http://loveyouliufangyuan.blog.163.com/