改变博客背景的代码 帅气〖百叶草〗
| 改变博客背景的代码 |
<style type=text/css> body {background:url("页面大背景图片地址") repeat fixed!important;} .logo {background:url("题图上背景图片地址") no repeat no scroll!mportant;} .banner {background:url("题图下背景图片地址") no repeat no scroll!mportant;} .menu {background:url("题图下的菜单背景图片地址") no-repeat center;} .feeds .up {background:url("正文标题栏上翻时的图片地址") no-repeat center;} .feeds .down {background:url("正文标题栏下翻时的图片地址") no-repeat center;} .feeds .function {background:url("正文摘要结尾处的图片地址") no-repeat right;} .links .up {background:url("面板标题栏上翻时的图片地址");} .links .down {background:url("面板标题栏下翻时的图片地址");} .links .mid {background:url("面板的背景图片地址");} .photo .mid {background:url(个人形象照片处的背景图片地址);} .label .mid {background:url("自定义面板的背景图片地址");} .calendar .mid {background:url("日历面板背景图片地址");} .callboard .up {background:url("公告栏标题栏上翻时的图片地址");} .callboard .down {background:url("公告栏标题栏下翻时的图片地址");} .callboard .mid {background:url("公告栏背景图片地址");} .bodyBg {background:url("页面内背景图片地址");} .sysBr500 {background:url("所有文章的背景图片地址,建议不使用这段代码");} .bodyBottom {background:url("内背景页脚处图片地址");} .sysW770 {background:url("页面底部“新浪BLOG意见反馈留言板”等字所在的背景图片地址");} .gbook .up {background:url("留言板标题栏上翻时的图片地址") no-repeat;} .gbook .down {background:url("留言板标题栏下翻时的图片地址") no-repeat;} .feeds .page {background:url("正文文章页数图片地址") no-repeat center;} .links .more {background:url("最新文章列表下的MORE的背景图片") no-repeat right;} .add {background:url("发表文章四个字所在的背景图片") no-repeat right;} .add .ico {background:url("发表文章四个字左边的小图片") no-repeat right;} </style>
其中,页面大背景图片就是整个博最大的背景.电脑屏幕是1024X768的可以看清楚.而800X600只能看到一点点...
题图上背景图片LOGO就是"新浪博客3.0"所在的位置,即博客最上面的一小块图片.
题图下背景图片便是LOGO下面的比较大的一部分了..
有些地方可以不用修改.在我的里面最后这四个就没有改动.
另外要说一下的是,在这个代码里面
{background:url("页面大背景图片地址")repeat fixed!important;}.logo |
E-mail:admin@bokedm.com
20秒注册会员 结交博客爱好者 分享你的精彩