加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

模板代码

(2006-04-21 06:44:01)
一直想换背景,那天上网搜了一下。找到个网址:http://spaces.msn.com/chouchou520/blog/cns!78E8B52471C610C7!574.entry?_c=BlogPart  这个是粥粥的素材库,里面好多我喜欢的背景图片。然后就是把图片加进模版喽!代码如下:
 
<DIV align=left><IMG src="*.jpg" align=left></DIV>
<STYLE type=text/css>
.bodyBox
{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>
 
这段代码的前两行一定要copy上,之前好多网上给的代码都没前面那两行,结果面板里面什么都显示不了。
我添加的图片都在原图的基础上修改了一下,http://i6.photobucket.com/albums/y217/Jeanneliu/056.jpg     这个是淡蓝色背景的图片地址。
 
 
 
 
 

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有