博客横幅的代码是什么?

[复制链接]
查看11 | 回复0 | 2009-1-30 06:28:38 | 显示全部楼层 |阅读模式
博客横幅的代码是什么?

                                                                                                代码是:STYLE type=text/css>body{background:url(页面背景图片) repeat scroll!important;}.logo{background:url(题图logo图片) 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("正文背景图片");}.bodyBottom{background:url("正文背景图片");}</STYLE>码添加方法: 登陆博客后依次打开:控制面板-个人首页维护-自定义空白面板(点击进入编辑)-新增-填写面板标题(随意)-勾选最下面的“显示代码”-然后将正确的代码粘贴到文本框中-保存并返回回到 控制面板-单击页面最下方的“定制我的首页”-在打开的页面中单击“添加模块”-找到刚才自定义面板名称的模块,勾选之-选取-模块就会出现在左侧栏目中-保存 即可。单独的背景代码:滚动的大背景代码:<style>body {background:url("页面大背景图片地址") repeat scroll!important;}</style>repeat 重复,当图片的大小不够的时候会以平铺显示scroll 卷轴,大背景会随着右边滚动条拉动的时候而滚动固定的大背景代码<style>body {background:url("页面大背景图片地址") repeat fixed!important;}<style>fixed 固定,大背景不会因为你拉动滚动条而滚动欢迎光临我的blog:http://blog.sina.com.cn/u/1230765700                                       
提问者对答案的评价:

                                                                                                <STYLE type=text/css>body{background:url("页面大背景图片地址") repeat scroll!important;}.logo{background:url("题图上背景图片地址") no repeat no scroll!mportant;}.banner{background:url("题图下背景图片地址") no repeat no scroll!mportant;}.menu{background:url("题图下的菜单背景图片地址") no-repeat center;}</STYLE>欢迎光临:http://blog.sina.com.cn/m/pdz
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行