随笔 - 83  文章 - 0  评论 - 28  阅读 - 28万
03 2012 档案
CSS+DIV 图片垂直居中
摘要:1.<div style="display:table;width: 100%;height: 100%; "><div style="display:table-cell;vertical-align: middle;"><img src="images/menu_bar.png" /></div></div>要让DIV中的图片垂直居中,在标准的浏览器中 让给父亲容器设置display:table;而子元素设置display:table-cell;这样就可以垂直居中了,如上 阅读全文
posted @ 2012-03-28 23:17 cfd406635982 阅读(3767) 评论(0) 推荐(0) 编辑
CSS+DIV 浮动 空隙问题
摘要:div浮动的时候会出现空隙问题,比如有三个DIV,前面两个分别浮动,这样第三个DIV 和第二个DIV之间就会出现3px的间隙,为了解决这个问题,这个问题是在IE中出现的。所以可以加上_margin-right:-3px;就可以了。 阅读全文
posted @ 2012-03-25 15:27 cfd406635982 阅读(672) 评论(0) 推荐(0) 编辑
SQLSERVER--Exec的用法
摘要:USE DB; GO --Create The Table. We'll pull info from here for our dynamic SQL CREATE TABLE DynamicSQLExample ( TableID int IDENTITY NOT NULL CONSTRAINT PKDynamicSQLExample PRIMARY KEY, SchemaName varchar(128) NOT NULL, TableName varchar(128) NOT NULL); GO /* Populate the table. In this ca... 阅读全文
posted @ 2012-03-19 22:50 cfd406635982 阅读(4580) 评论(0) 推荐(0) 编辑
SQLCMD的用法,使用CMD 执行sql语句
摘要:SQLCMD 允许在Windows命令窗中通过命令行提示符运行脚本.语法如下:sqlcmd [ { { -U <login id> [ -P <password> ] } | -E } ] [-S <server> [ \<instance > ] ] [ -H <workstation> ] [ -d <database> ] [ -l <time out> ] [ -t <time out> ] [ -h <headers> ] [ -s <col separator> 阅读全文
posted @ 2012-03-19 22:19 cfd406635982 阅读(21933) 评论(0) 推荐(1) 编辑
多级菜单
摘要:if(""){//false}if(" "){//true中间有一个空格}if("abc"){//true} 阅读全文
posted @ 2012-03-10 11:20 cfd406635982 阅读(139) 评论(0) 推荐(0) 编辑
一个多级菜单
摘要:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <title>meun.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is 阅读全文
posted @ 2012-03-10 10:51 cfd406635982 阅读(1321) 评论(2) 推荐(1) 编辑

< 2025年4月 >
30 31 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 1 2 3
4 5 6 7 8 9 10

点击右上角即可分享
微信分享提示