如何换背景图案

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

                                                                                                你好,★用代码更换BLOG背景:(根据使用图片尺寸任选其中一组代码)一、 固定背景图片的代码:<style>body {background:url("页面大背景图片地址") repeat fixed!important;}</style>固定背景代码:就是你拉动滚动条的时候,图片不动,始终固定.背景图片尺寸规格(1024*768)或(800*600)像素二、 滚动的大背景代码:<style>body {background:url("页面大背景图片地址") repeat scroll!important;}</style>滚动背景代码:随着你拉动滚动条而上下滚动,适合小图片,什么闪烁的星星之类的!图片很小即可,它会自动平铺!★如果是本地图片,将其上传到相册里.打开图片点右键.属性.即可获得图片地址.☆别忘记替换代码中"图片地址 "★更换大背景后要看到全景.一同使用以下透明代码即可:<STYLE>.logo{background:#transparent}.banner{background:#transparent}.menu{background:#transparent}.feeds .up{background:#transparent}.feeds .down{background:#transparent}.feeds .function{background:#transparent}.links .up{background:#transparent}.links .down{background:#transparent}.links .mid{background:#transparent}.photo .mid{background:#transparent}.label .mid{background:#transparent}.calendar .mid{background:#transparent}.callboard .up{background:#transparent}.callboard .down{background:#transparent}.callboard .mid{background:#transparent}.bodyBg {background:#transparent;filter:progid:DXImageTransform.Microsoft.gradient(GradientType =\'1\',enabled=\'true\',startColorstr=#00FFFFFF, endColorstr=#00FFFFFF);}.bodyBottom{background:#transparent}.sysW770{background:#transparent}.gbook .up{background:#transparent}.gbook .down{background:#transparent}.feeds .page{background:#transparent}.links .more{background:#transparent}.add{background:#transparent}.add .ico{background:#transparent}</STYLE>具体操作方法如下:点击管理博客——新增空白面板——先在空白面板上敲一下空格键——勾选“显示源代码”(这时你会看到面板中已经有一行代码了:< DIV>nbsp;</DIV>)——将上面代码粘贴在<DIV>nbsp;</DIV>后面——保存——定制个人首页——添加模块--选取新增面板——保存设置.如果想把自己BLOG页面装饰的漂亮点,我这里有装饰代码,和详细的使用方法,以及数千张背景图片素材供你选择,希望能对你有所帮助;谢谢您的提问,祝您一切顺利!欢迎光临我的博客!
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行