2015年12月20日

style:定宽浮动

摘要: style:定宽浮动.PopPage{ position: relative; /*相对定位*/ width: 98%; margin: auto; padding-top: 4px;}.PopPage div{ float: left; display: inline; width:... 阅读全文

posted @ 2015-12-20 21:41 萧 萧 阅读(238) 评论(0) 推荐(0)

2015年4月7日

工作表按某列标识分别截成多个EXCEL sheet

摘要: 将下面的方法放于VBA中执行即可注:需要有工作表Name为Sheet1,使用的对象参考:http://zhucongg.blog.163.com/blog/static/1148148320153742843347/Sub s() Application.ScreenUpdating = False... 阅读全文

posted @ 2015-04-07 21:21 萧 萧 阅读(487) 评论(0) 推荐(0)

2014年6月26日

document.body.clientHeight和document.documentElement.clientHeight区别

摘要: document.body.clientHeight:body对象的高度document.documentElement.clientHeight:指可见区域的高度获取元素中滚动条的垂直偏移可以写成:var top = document.documentElement.scrollTop || do... 阅读全文

posted @ 2014-06-26 14:36 萧 萧 阅读(165) 评论(0) 推荐(0)

2013年8月12日

CSS 单位

摘要: 尺寸单位描述%百分比in英寸cm厘米mm毫米em1em 等于当前的字体尺寸。2em 等于当前字体尺寸的两倍。例如,如果某元素以 12pt 显示,那么 2em 是24pt。在 CSS 中,em 是非常有用的单位,因为它可以自动适应用户所使用的字体。ex一个 ex 是一个字体的 x-height。 (x-height 通常是字体尺寸的一半。)pt磅 (1 pt 等于 1/72 英寸)pc12 点活字 (1 pc 等于 12 点)px像素 (计算机屏幕上的一个点)颜色单位描述(颜色名)颜色名称 (比如 red)rgb(x,x,x)RGB 值 (比如 rgb(255,0,0))rgb(x%, x%, 阅读全文

posted @ 2013-08-12 14:28 萧 萧 阅读(136) 评论(0) 推荐(0)

2013年8月8日

update set from

摘要: update set from关键字: update set from下面是这样一个例子:两个表a、b,想使b中的memo字段值等于a表中对应id的name值 表a:id, name 1 王 2 李 3 张 表b:id,ClientName 1 2 3 (MS SQL Server)语句:update bset ClientName= a.namefrom a,bwhere a.id = b.id(Oralce)语句:update bset (ClientName)=(SELECT nameF... 阅读全文

posted @ 2013-08-08 09:25 萧 萧 阅读(120) 评论(0) 推荐(0)

2013年7月25日

REF CURSOR 2013/7/25

摘要: ref cursor,可以在程序集建传递结果集REF CURSOR分两种:1.Strong REF CURSOR:指定return type,CURSOR变量的类型必须和return type一致。DECLARE TYPE strongcurtyp is ref cursor return emp%rowtype; emp_cv strongcurtyp;2.Weak REF CURSOR:不指定return type,能和任何类型的CURSOR变量匹配。DECLARE TYPE weakcurtyp is ref cursor; weak_cv weakcurtyp;any_cv sys_r 阅读全文

posted @ 2013-07-25 13:54 萧 萧 阅读(107) 评论(0) 推荐(0)

2013年7月22日

HTML特殊字符編碼參考

摘要: 显示结果描述实体名称实体编号空格 大于号>>&和号&&"引号""'撇号' (IE不支持)'¢分¢¢£镑££¥日圆¥¥€欧元€€§小节&sect... 阅读全文

posted @ 2013-07-22 14:01 萧 萧 阅读(112) 评论(0) 推荐(0)

Server.MapPath()

摘要: 1.HttpServerUtility.MapPath:返回与 Web 服务器上的指定虚拟路径相对应的物理文件路径。1.1.Page.Server.MapPath(null) /Page.Server.MapPath("")/Page.Server.MapPath("."):返回所在頁面的物理文件路... 阅读全文

posted @ 2013-07-22 11:53 萧 萧 阅读(345) 评论(0) 推荐(0)

导航