日志内容

2005-09-13[原] 仿Office 2003的工具条

TAG:CSS 代码分享 原创

看到网上有篇《仿Office 2003的工具条》,于是自己也简单的做了一个。
借鉴了文章里对<input>鼠标事件的处理方法。
-------------------------------源码-----------------------------------------
<style type="text/css">
<!--
.lostfocus {
   background-color: #FFFFFF;
   border: 1px #FFFFFF solid;
   font: 12px Arial;
   vertical-align: baseline;
}

.getfocus {
   background-color: #FFFFFF;
   border: 1px #08246B solid;
   font: 12px Arial;
   vertical-align: baseline;
}

.leftitem {
   cursor: hand;
   padding: 0 2px 0;
   text-align: center;
   vertical-align: baseline;
   width: 30px;
}

.leftitemover {
   background-color: #C2D5F8;
   border: 1px #6495ED solid;
   cursor: hand;
   padding: 0 2px 0;
   text-align: center;
   vertical-align: middle;
   width: 30px;
}

.leftitemdown{
   background-color: #E4EDFC;
   border: 1px #6495ED solid;
   cursor: hand;
   padding: 0 2px 0;
   text-align: center;
   width: 30px;
}

.menubar {
   filter: progid:DXImageTransform.Microsoft.Gradient(gradienttype=0, startcolorstr=#F7F7F7, endcolorstr=#DEDBD6);
   font-size: 12px;
   height: 30px;
   width: 368px;
}

.botimg{
   border: 1px inset;
   width: 1px;
}
-->
</style>
<body style="background-color:#BFBFBF;">
<table class="menubar">
   <td>
    <img class="botimg" /><br />
    <img class="botimg" /><br />
    <img class="botimg" /><br />
    <img class="botimg" /><br />
    <img class="botimg" /><br />
    <img class="botimg" /><br />
   </td>
 <td>
      姓名
  <input type="text" name="T5" size="18" class="lostfocus" gf="0" onmouseover='this.className="getfocus"' onmouseout='if (this.gf=="0") this.className="lostfocus"' onblur='this.className="lostfocus";this.gf="0"' onfocus='this.className="getfocus";this.gf="1"'>
  密码
  <input type="password" name="T6" size="18" class="lostfocus" gf="0" onmouseover='this.className="getfocus"' onmouseout='if (this.gf=="0") this.className="lostfocus"' onblur='this.className="lostfocus";this.gf="0"' onfocus='this.className="getfocus";this.gf="1"'>
      <img height=16 class="botimg" style="vertical-align:bottom;">
 </td>
   <td class="leftitem" gf="0" onmouseover='this.className="leftitemOver"' onmouseout='if (this.gf=="0") this.className="leftitem"' onblur='this.className="leftitem";this.gf="0"' onmousedown='this.className="leftitemDown";this.gf="0"' onfocus='this.className="leftitem";this.gf="1"'>
  <a>登陆</a>
   </td>
</table>


2005-09-13[原] 1px表格

TAG:CSS 代码分享 原创
今天刚搞出来的,留下以后可以用。
-------------------------------------------
/*CSS样式表*/
table{
   border-collapse: collapse;/*设置单元格的边合并在一起*/
   empty-cells : show;/*设置单元格无内容时,显示该单元格的边框*/
}
td{
   border: #000000 solid 1px;/*设置边框*/
   padding: 3px;/*内容与边框的间距*/
}

2005-09-09外出的人

TAG:随便想想

今天在回来的路上看到一个人,很失落的蹲在路边,在他前面写了一行字:“求15元让我坐车回顺德……”本来我可以就这样走过去不理他的,事实上我也已经走去了,当时不怎么的,突然之间很想帮他,虽然我自己钱也剩下不多。

“可能钱包被人偷了吧,也许掉了,不管怎样,他没钱了……会不会是骗人的呢?应该是骗人的吧~”可是一想到自己也曾没有钱,特别是在出门在外……不觉有点心酸,于是我走回去,给了他5块,虽然不多,但也可以先吃点东西了……

出外的人可小心啊!!!


2005-08-17

TAG:随便想想

又到了晚上,夜静静的,心里却是安静不下来,没有充实的感觉,今天我做了什么呢?头脑开始模糊……为什么会怀念以前呢?

想在角落里喝酒……


2005-08-17随想

TAG:随便想想

今天在路上发呆,看着人来人往,突然觉得“人”真的很神奇……

为什么同样的形状,会有那么多的不同呢?每个人都不一样!


分页 共45页 第一页 上一页 33 34 35 36 37 38 39 40 41 42 下一页 最后一页
订阅>>使用RSS邮天下订阅>>Google订阅s

Q我 GTalk联系

Recent Articles

Recent Comments

Recommend

Archive

广 州
The WeatherPixie

Search Engine Optimization

CSS森林:30247792
(精神正常者慎入!)

访问统计:

011 本BLOG[原]部分的内容采用创作共用授权,请尊重劳动成果,谢谢。
Copyright © 2006 风的影子. All rights reserved.   FORESt.blOGbUS.COM  BLOGBUS.COM