Login dark
author: 零贰
title: 置顶项颜色修改
date: 2008-11-03 01:44:45
category: [学习笔记]
tags: [Blog,Z-Blog,个人空间,博客,模板]

<p>今天在试用了一下日志置顶功能,突然发现颜色和图标都没有修改,没办法,用的是老寒的粉年主题,还是有一些地方没有改到,只好再继续修改了。其实修改后还是有一个问题的,在换风格时有些图片不会随着风格来改变,可是自己水平不够,或者对懂CSS等知识的来说这是很简单的问题,可惜自己是没办法了,只能用查找、替换的方法:<!--more-->
( </p> <p align="center"> </p> <p> 1、图标的修改: 
  在b_article-istop文件中修改,只能直接换文件夹名,不知道怎么才能和风格对应; </p> <table border="1" cellspacing="1" cellpadding="1" width="651" height="84"> <tbody> <tr> <td> <p><div class="istop">  <img src="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/style/default2/up.gif" width="17" height="17">&nbsp;[<#ZC_MSG051#>]&nbsp;<a href="<#article/url#>" target="_blank">  <#article/title#></a></div></p></td></tr></tbody></table> <p> 2、背景等颜色修改:
   其实老寒已经写好注释,所以改颜色就可以了:D</p> <table style="width: 651px; height: 278px" border="1" cellspacing="1" cellpadding="1" width="651" height="278"> <tbody> <tr> <td>/首页置顶样式/
.istop
{
color: #000000;
font-family: Georgia, 'Times New Roman', serif;
font-size: 14px;
font-weight: bold;
text-align: left;
height: 30px;
line-height: 30px;
margin-top: 0px;
margin-bottom: 3px;
border-top:#B5BF8A 1px solid;
border-bottom:#B5BF8A 1px solid;
background:#EFFFED;
}
</td></tr></tbody></table>