怎么修改博客的背景?

[复制链接]
查看11 | 回复0 | 2009-1-30 06:28:38 | 显示全部楼层 |阅读模式
我想修改我的博客背景,看介绍的那些办法眼花缭乱的,有哪位高手能给我解说的详细一点啊?

                                                                                                博客改变背景代码:滚动的大背景代码:<style>body {background:url("页面大背景图片地址") repeat scroll!important;}</style>repeat 重复,当图片的大小不够的时候会以平铺显示scroll 卷轴,大背景会随着右边滚动条拉动的时候而滚动固定的大背景代码<style>body {background:url("页面大背景图片地址") repeat fixed!important;}<style>fixed 固定,大背景不会因为你拉动滚动条而滚动背景透明代码:<STYLE type=text/css>body{background:#transparent) repeat scroll!important;}</STYLE>使用说明:找到你喜欢的图片(1024*768规格),然后把图片地址覆盖在代码中的("页面大背景图片地址")上面,找一个已经有内容的模块添加这段代码,就能改变你的BLOG背景了,具体用以上那一种代码,看你个人喜好了.1,控制面板----首页内容维护----定义空白模板----新建,创建模块标题,复制粘贴编写代码----保存并返回;  2,控制面板----定制我的首页----点添加模块----点选创建好的模块标题---勾上并保存,移动新建面板位置--保存设置。做第二步的目的是将建立好的模块在博客个人首页里呈现出来。                                       
提问者对答案的评价:

                                                                                                如何更改新浪博客的背景图第一步、登录新浪博客,输入“登录名”“密码”和“验证码”后点击“登录”。第二步、点击进入主页上方的“控制面板”。第三步、进入“个人首页维护”。第四步、进入“自定义空白模板”第五步、打开任意一个已建好面板,注意,一定要是已建好的!第六步、勾选面板下方的“显示源代码”勾选框,此处注意一定要勾选,否则将不能成功。第七步、将以下代码加到原本代码之后,然后点击“保存”。<style type=text/css><!--body{background:url(这里填写背景图片地址) #ffffff repeat scroll!important;}--></style>代码说明:将括号里面的这里填写背景图片地址替换为你所要显示的背景图片地址,#ffffff表示背景颜色为#ffffff(白色)修改为你想要的背景颜色代码,repeat表示图片平铺,不平铺改为no-repeat,scroll表示图片随对象滚动,图片固定不滚动改为fixed,!important表示这里的设置优先,不要将它去掉,否则有可能会引起冲突,造成显示不正常!                                       

                                                                                                首页加宽加背景的模块http://blog.sina.com.cn/u/4ad2826e010007h6代码如下:<DIV> </DIV><STYLE type=text/css>.bodyTop{width:980px;}.bodyBottom{width:980px;}.bodyBg{width:980px;}.menu{width:980px;}.feeds .itemBox table{width:688px;} .feeds .text{width:688px;}.banner .title td{font-size:30px;}.banner .title td{FILTER: glow(color=#000000,direction=2);}.banner .title td{color:#E800E8;}.banner table{background:#A6FFFF; filter:alpha(opacity=80); border:0px solid #000;}.banner .title{ margin-left:340px; margin-top:60px; font-weight:bold;}.banner .link {MARGIN-TOP: 7px; MARGIN-LEFT: 331px}<!--BODY {SCROLLBAR-FACE-COLOR: rgb(239,44,33); SCROLLBAR-HIGHLIGHT-COLOR: rgb(252,239,166); SCROLLBAR-SHADOW-COLOR: rgb(123,252,123); SCROLLBAR-3DLIGHT-COLOR: rgb(133,255,231); SCROLLBAR-ARROW-COLOR: rgb(186,255,231); SCROLLBAR-TRACK-COLOR: rgb(31,239,120); SCROLLBAR-DARKSHADOW-COLOR: rgb(217,57,175)}-->body{background:url("http://album.sina.com.cn/pic/4ad2826e02000faa") repeat scroll!important;}.logo{background:#transparent}.banner{background:url(http://album.sina.com.cn/pic/4ad2826e02000e86) no repeat no scroll!mportant;}.banner{height:180px} .menu{background:#DEFFAC}.feeds .up{background:#A6FFA6}.feeds .down{background:#transparent}.feeds .function{background:#66B3FF}.links .up{background:#9999CC}.links .down{background:#transparent}.links .mid{background:#743A3A;}.photo .mid{background:url(http://album.sina.com.cn/pic/4ad2826e02000fqx);}.label .mid{background:#AE8F00}.calendar .mid{background:#transparent}.callboard .up{background:#transparent}.callboard .down{background:#transparent}.callboard .mid{background:#AAAAFF;}.bodyBottom{background:#transparent}.bodyBg{background:#FFD2D2;}.sysW770{background:#transparent}.gbook .up{background:#transparent}.gbook .down{background:#transparent}.feeds .page{background:#E6E6F2}.links .more{background:#D6D6AD}.add{background:#transparent}.add .ico{background:#transparent}.bodyTop{background:#2894FF}.menu .home a{color:#ff0000;} .links .desc{color: #00FFFF !important;}.feeds .text a {color:#F75000;} .feeds .title a {color:#FF0080;} .links .text {color:#8600FF;} .add a {color:#FF0000;} .callboard .title {color:#F75000;} .photo .infoText a {color:#707038;} .banner .link td{color:#FF0000;} A { text-decoration: NONE; color: #E0E0E0}A:hover {font-weight: bold }BODY{cursor:url(\'http://webme.bokee.com/inc/mouse006.ani\');}A {CURSOR: url(\'http://webme.bokee.com/inc/mouse014.ani\');}A { text-decoration: NONE; color: #28004D}A:hover { background-color: #00A600; }</STYLE><DIV></DIV>代码结束教你如何玩博客http://blog.sina.com.cn/u/4ad2826e010007ci参考文献:首页加宽加背景的模块
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行