辞职了
2008-04-29 10:44 | Filed Under Life |
终于辞去了这份旷日持久的工作
说不出的轻松和舒爽啊
相关日志
作为程序员应有10项权利
2008-04-28 15:50 | Filed Under Life |
My Bill of Rights as a Programmer
http://www.spoiledtechie.com/post/My-Bill-of-Rights-as-a-Programmer.aspx
下面是来自javaeye的翻译
1.每位程序员应该拥有一个安静的工作环境
(每天办公室里乌泱乌泱的,比菜市场还热闹)
2.每位程序员应该拥有听音乐的权利
(用耳机听没问题)
3.每位程序员应该拥有一台高性能的PC
(想加条内存都得墨迹,那便宜的)
4.每位程序员可以选择适合自己的键盘和鼠标
(老子自己买的鼠标和鼠标垫)
5.每位程序员应该拥有良好的网络环境
(无数人挂迅雷,想好也好不了啊)
6.每位程序员应该拥有两台或更多的监视器
(一台17的LCD真的不够用)
7.每位程序员应该拥有一把舒适的椅子
(这个还好,就是背上靠着老出汗)
8.每位程序员应该拥有合适的开发工具
9.每位程序员应该拥有PC管理员权限的权利
10.每位程序员每年至少有一次允许出席开发者讨论会
(很遗憾,只有内部无聊的所谓讲座……)
相关日志
Ubuntu 8.04 LTS
2008-04-25 15:59 | Filed Under Linux |
迫不及待的装上,完整安装中文支持
一个伟大的进步是:从此告别了字体美化的历史,默认字体(应该是文泉驿正黑)完全可以满足大多数人的需要
并且如果是用alternate cd从文字界面安装
在引导菜单刚出来就可以选择语言
可以看到ubuntu在平民化方面的努力
相关日志
一个完整的表格样式
2008-04-24 10:51 | Filed Under Html/JS/CSS |
一坨针对IE的HACK
- table.default {
- background: #C1DCF7 none repeat scroll 0%;
- border: 1px solid #C1DCF7;
- color: #000000;
- width: 98%;
- border-collapse: collapse;
- margin: 0 auto;
- }
- table.default caption {
- background:transparent url(http://blog.sunshow.net/wp-content/uploads/2008/04/bg_list.gif) repeat-x scroll 0%;
- height: 30px !important;
- line-height: 30px;
- text-align: left;
- padding-left: 10px;
- font-size: 14px;
- font-weight: bold;
- color: #FFFFFF;
- }
- table.default caption a:link, table.default caption a:visited {
- color: #000000;
- font-size: 12px;
- text-decoration: underline;
- }
- table.default caption a:hover {
- font-size: 12px;
- color: #14568A;
- }
- table.default thead tr {
- background: #C1DCF7 none repeat scroll 0%;
- color: #000000;
- height: 25px;
- line-height: 25px;
- text-align: center;
- font-size: 13px;
- }
- table.default thead tr th {
- border-color: #C1DCF7; /* fix for IE */
- }
- table.default tbody {
- background: #FFFFFF none repeat scroll 0%;
- text-align: left;
- }
- table.default tbody tr {
- height: 25px;
- line-height: 25px;
- event: expression(
- (this.onmouseover = function() {this.className += ' over';}) &&
- (this.onmouseout = function() {this.className = this.className.replace(' over', '');})
- );
- }
- table.default tbody tr:hover, table.default tbody tr.over {
- background-color: #E8F0FF;
- }
- table.default tbody tr td {
- font-size: 12px;
- padding: 0 0 0 5px;
- border-color: #C1DCF7; /* fix for IE */
- }
- table.default tbody tr td { /* fix for IE when align="center" or align="right" */
- padding-left: expression(
- (((this.align == 'center') || (this.align == 'right')) ? '0px' : '5px')
- );
- padding-right: expression(
- ((this.align == 'right') ? '5px' : '0px')
- );
- }
- table.default tbody tr td[align="center"] {
- padding: 0;
- }
- table.default tbody tr td[align="right"] {
- padding: 0 5px 0 0;
- }
效果展示:
提示:您可以先修改部分代码再运行
相关日志
IE6又一bug?
2008-04-16 16:01 | Filed Under Html/JS/CSS |
总结一下就是类似#gisarrow.over、#gisarrow.expanded这样的选择符
在使用javascript动态更改className的时候只有最先定义的一个样式有效
在IE6运行以下例子,然后删掉#gisarrow.over做个对比
IE7下还没试
提示:您可以先修改部分代码再运行
相关日志


