好久没写日志,08年身边发生了好多事,大事小事好事坏事屁事,连地震都约好了在发生2008,还以为搬螃蟹得罪了山神大哥、土地爷爷,弄得山要垮了!在这个多事之秋也作出了人生重大决定,挥泪告别互联网,转眼10年it圈混饭的日子悠晃着就过了,经历了一场资本家对技术人员的生吞活剥,醒悟后决定找一个其他行业干干,于是我选了摄影!
前两天第一次跟照相的师傅出去跟拍婚纱外景,我负责帮忙搬东西,这个日子过着还挺对味,整天山高云淡、海蓝云天...
回来在电脑上处理了几张练下手,我决定走重口味路线,第一次,留个纪念:
(图被缩小了,点击放大查看)
百感交集,儿子的网站:http://www.qswkc.com/baby

偶最喜欢的编辑器:SciTE
最新版本 v1.76 下载地址:http://www.scintilla.org/
开源软件,适合各类代码编写者:程序员、网页制作人员等等。该软件拥有高灵活度的配置,小巧轻便无需安装,按个人喜好配置好后拷贝到电脑目录中便可使用。
SciTE 编辑器的 User.properties 文件配置 1.76 版配置方法与以前 1.74 版本相同:http://dognicole.xhblog.com/cmd.shtml?uid=31595&do=blogs&id=28865&page=2
不明处请参阅软件目录下 Scite.html 文件
Scite 使用技巧:
1.使用列模式:在关闭自动换行的情况下,按住 Alt 用鼠标选取多行(多列)
2.Windows 系统添加到鼠标右键(将下列代码复制保存为 .reg 文件后运行导入注册表即可):
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell][HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\SciTE][HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\SciTE\command]
@="D:\\SciTE\\SciTE.exe %1"
注意:D:\\SciTE\\SciTE.exe 改为你的路径
3.挂接GCC编译器、连接Java编译器和PHP解释器...
如何用 Scite 调试编译程序请百度、Google一下,另一个 Scite 编辑器爱好者的博客介绍得很全面
4.启用 F1 帮助功能:
编辑 User.properties 配置文件,添加以下几行,以 Css 为例:
command.help.$(file.patterns.css)=$(CurrentWord)!d:\css2.chm
command.help.subsystem.$(file.patterns.css)=4
如果你为 php 设置 F1 帮助功能,请将第一、二行中 $(file.patterns.css) 改为 $(file.patterns.php)
将第一行中 d:\css2.chm 改为你的 php 帮助手册文件路径
第二行末尾:=4 是根据你的帮助文件类型传值: exe 格式修改为 2; chm 格式传值 4; hlp 格式传值 5;
按上面说明配置好以后,在编辑相关文件时用鼠标复制一段字符,按下 F1 便可打开你设置的帮助文件。
刚才又试了下,这个功能居然可以这么玩,SciTE 的确灵活强悍:
command.help.$(file.patterns.css)=$(CurrentWord)!http://www.baidu.com/s?wd=css+$(CurrentWord)
command.help.subsystem.$(file.patterns.css)=4
按 F1 直接在百度中查找你复制的字符串,爽,不要本地帮助文件了!有兴趣研究这个功能的话试试稍微改改还可以弄出 Google 翻译之类的效果!
www.mezzoblue.com
省略了原文上几条个人觉得多余的方法
方法一:
添加一个span标记包含文本,再将其用display: none;隐藏<h3 id="header">
<span>Revised Image Replacement</span>
</h3>
/* css */
#header {
width: 329px;
height: 25px;
background-image: url(http://www.xhblog.com/x.gif);
}
#header span {
display: none;
}
方法二:
用负边界法将文本缩进到屏幕外<h3 id="header">
Revised Image Replacement
</h3>
/* css */
#header {
background: url(http://www.xhblog.com/x.gif) no-repeat top right;
width: 2329px;
height: 25px;
margin: 0 0 0 -2000px;
}
方法三:
用文本缩进text-indent: -100em;将文本移到屏幕外<h3 id="header">
Revised Image Replacement
</h3>
/* css */
#header {
text-indent: -100em;
background: url(http://www.xhblog.com/x.gif);
height: 25px;
}
方法四:
添加一个span标记包含文本,再将其宽度高度设置为0达到隐藏目的<h3 id="header">
<span>Revised Image Replacement</span>
</h3>
/* css */
#header {
width: 329px;
height: 25px;
background-image: url(http://www.xhblog.com/x.gif);
}
#header span {
display: block;
width: 0;
height: 0;
overflow: hidden;
}
方法五:
添加一个空span标记,在此标记上设置背景图像,用position:relative;让父级元素相对当前位置对齐,为span添加position:absolute;属性,让它相
对于父元素位置绝对对齐,以此挡住父元素,此方法所带的背景图需要有背景色,
否则会露陷
<h3 id="header">
<span></span>Revised Image Replacement
</h3>
/* css */
#header {
width: 329px;
height: 25px;
position: relative;
}
#header span {
background: url(http://www.xhblog.com/x.gif) no-repeat;
position: absolute;
width: 100%;
height: 100%;
}
方法六:
把字号大小设置为1px,字体颜色设置为和背景图一样的颜色,达到隐藏目的<h3 id="header">
Revised Image Replacement
</h3>
/* css */
#header {
background: url(http://www.xhblog.com/x.gif) no-repeat;
width: 329px;
height: 25px;
font-size: 1px;
color: #xxxxxx;
}






