0.前言
水平居中基本方法——指定块的宽度并设定块的左右外边距为auto,上下外边距可取0,那么该块可以在父元素中水平居中。
样式如下:
1:margin:0px auto
2:margin-left:auto; margin-right:auto;
垂直居中基本方法——设定块的上下内边距相等。
样式如下:
padding-top:20px; paddin...
分类:
Web程序 时间:
2014-06-19 12:59:35
阅读次数:
540
在做AdoHelper实用程序的时候,我用了DevExpress的cxGrid控件.在此之前用的是dbgrid,考虑到不能把所有的数据都拉到本地,我用了动态生成的select
top 500的命令.这样很笨.昨天忽然想到,可以看看控件是否支持只拉取一部分数据的,象access那样.GridView....
分类:
其他好文 时间:
2014-06-16 10:54:59
阅读次数:
537
1.open your key chain access.2.on top left corner
unlock the key chain (if it is locked).3.click system from top left
corner.4.then click your distrib...
分类:
其他好文 时间:
2014-06-16 09:46:12
阅读次数:
220
@CHARSET "UTF-8";.mytable a { color:
#c75f3e;}.mytable { width: 100%; border-left: 1px solid #c1dad7; border-top: 1px
solid #c1dad7; pa...
分类:
其他好文 时间:
2014-06-16 08:16:07
阅读次数:
461
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the...
分类:
其他好文 时间:
2014-06-15 19:28:54
阅读次数:
246
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-06-13 20:36:56
阅读次数:
280
有时候我们经常为我们的sql语句执行效率低下发愁,反复优化后,可还是得不到提高
那么你就用这条语句找出你sql到底是在哪里慢了 示例: SET STATISTICS io ON SET STATISTICS time ON go
---你要测试的sql语句 select top 100 * from...
分类:
数据库 时间:
2014-06-13 17:12:43
阅读次数:
275