生·生活

asp.net旅行

 

2008年1月26日

网页制作中CSS样式表的十个技巧

摘要: 1. css 字体简写规则 当使用css定义字体时你可能会这样做: font-size: 1em; line-height: 1.5em; font-weight: bold; font-style: italic; font-variant: small-caps; font-family: verdana,serif; 事实上你可以简写这些属性: font: 1em... 阅读全文

posted @ 2008-01-26 17:37 厦门刀客 阅读(375) 评论(0) 推荐(0) 编辑

53个CSS不可或缺的技巧

摘要: 原文:http://www.smashingmagazine.com/2007/01/19/53-css-techniques-you-couldnt-live-without/ 翻译:Blank(怿飞) 53 CSS-Techniques You Couldn't Live Without 53个CSS-不可或缺的技巧 CSS is ... 阅读全文

posted @ 2008-01-26 17:26 厦门刀客 阅读(223) 评论(0) 推荐(0) 编辑

asp.net常用函数

摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 in... 阅读全文

posted @ 2008-01-26 13:56 厦门刀客 阅读(210) 评论(0) 推荐(0) 编辑

标题右侧“更多...”“More...”的实现

摘要: 两种实现标题右侧更多的例子: HTML 标题 更多… 位置法 h2{ position:relative; height:30px; } span{ position:absolute; right:0; top:0; display:block; height:30px; } 浮动法 h2{ height:30px; } span{ float:right; display:block; ma... 阅读全文

posted @ 2008-01-26 13:54 厦门刀客 阅读(217) 评论(0) 推荐(0) 编辑

导航