如何自己DIY模版

[复制链接]
查看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("正文背景图片");}.gbook .up{background:url(\'留言板标题栏上翻时的图片\') no-repeat;}.gbook .down{background:url(\'留言板标题栏下翻时的图片\') no-repeat;}.feeds .page{background:url("正文文章页数图片") no-repeat center;}</STYLE>(以上代码只适用于sina blog,把文字部分改成图片地址即可。但图片地址必须是网络上已经存在的,否则不能显示。)欢迎到我的博客作客,里面可能还有一些你需要的制作技巧。我的博客:http://blog.sina.com.cn/m/angela_69                                       
提问者对答案的评价:

                                                                                                哈哈。这问题简单啊 。不要他做的那个 。自己做模板就可以那。我的博客就是用的“模版-少女(QQ-ZONE模版)”非常漂亮啊 。去看看 啊 。。。上面还有代码啊,随便拿有空来坐坐http://blog.sina.com.cn/m/yangguangyao                                        

                                                                                                博客设计终极代码<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("正文背景图片");}.gbook .up{background:url(\'留言板标题栏上翻时的图片\') no-repeat;}.gbook .down{background:url(\'留言板标题栏下翻时的图片\') no-repeat;}.feeds .page{background:url("正文文章页数图片") no-repeat center;}</STYLE>                                        

                                                                                                更换整体模板背景的源代码:<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("正文背景图片");}.gbook .up{ background:url(\'留言板标题栏上翻时的图片\') no-repeat;}.gbook .down{ background:url(\'留言板标题栏下翻时的图片\') no-repeat;}.feeds .page{ background:url("正文文章页数图片") no-repeat center;}</STYLE>具体操作如下所示:控制面板----个人首页维护----自定义空白面板----新增----钩显示源代码----粘贴代码----去掉钩----保存如果是新增的面板可以再在--控制面板里--接着点----左上角的 定制我的首页----添加模块----钩选----选取----保存自己多试试 祝好运!http://blog.sina.com.cn/m/kongfu 我的博客里有很多闪动背景图片,你也可以在一些素材网上找一些。
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行