我想设置自己喜欢的博客背景图片,可我参考了很多答案,不怎么看得过程,帮忙一下,谢谢

[复制链接]
查看11 | 回复0 | 2009-1-30 06:28:38 | 显示全部楼层 |阅读模式
我不想用原来上面有的背景,想自己设计首页背景

                                                                                                你好,★用代码更换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
热门排行