有没有最新的新浪博客模板?

[复制链接]
查看11 | 回复0 | 2007-8-9 14:09:48 | 显示全部楼层 |阅读模式
修改模板的代码.bodyTop{width:900px;} .bodyBg{width:900px;} .bodyBottom{width:900px;} .feeds .text{width:640px;} .label{width:240px;} .photo{width:240px;} .callboard{width:240px;} .links{width:240px;} .calendar{width:240px;} .sysBr180{width:240px;}这个就是修改新浪博客页面宽度的代码了,因为相关代码太多,游虾是筛选了好久才精选出这几个对页面影响最大的代码,废话少说,先来看看它们的意思。 .bodyTop 指的是页面顶部的宽度,控制了 banner(就是题图)的宽度 .bodyBg 指的是整个页面的宽度,其值最好与上者相同(也可以自行变化) .bodyBottom 指的是页面底部的宽度,其值最好是与上面相同 .feeds .text 指的是正文部分的宽度(也就是文章部分的宽度) .label 指的是面板的宽度(其值加正文宽度的值应略小于整页的宽度) .photo 指的是形象照片面板的宽度(同上) .callboard 指的是公告栏的宽度(同上) .links 面板(也即最新留言、最新评论等面板)宽度(同上) .calendar 日历的宽度(同上) .sysBr180 这个值比较特殊,其值同以上各面板宽度近似,但不一定相同大家应当根据自己设置的宽度进行调节。 width 后面的数字就是你要修改的宽度值,可根据自己的需要设置。 【32】改变模板宽度代码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("正文背景图片");}
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行