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
持续添加中。。。1 快排 1 void QuickSort(int data[],int
left,int right) 2 { 3 4 if(left=temp)14 j--;15 16 data[i]=data[j];17 18 ...
分类:
其他好文 时间:
2014-06-16 08:25:32
阅读次数:
221
1 left join
左外连接:查询结果以左表数据为准。假如左表有四条数据,右表有三条数据,则查询结果为四条,且都是左表中有的数据。例如:EMP表:SAL表:左连接select*fromEMPLeftjoinSALonEMP.ENAME=SAL.ENAME;左连接,表EMP是主表,因此查询结果是显...
分类:
数据库 时间:
2014-06-16 06:30:58
阅读次数:
246
Rotate ListGiven a list, rotate the list to the
right bykplaces, wherekis non-negative.For
example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3-...
分类:
其他好文 时间:
2014-06-13 16:39:53
阅读次数:
307
原文:div+css中clear用法一开始用clear属性,只是跟float相对使用,今天看视频的时候还是不大明白,查了下资料原来是这样的哦,看咯。clear属性值有四个clear:both|left|right|none;作用:该属性的值指出了不允许有浮动对象的边。
这个属性是用来控制float属...
分类:
Web程序 时间:
2014-06-12 19:47:07
阅读次数:
187
SQlite不支持以下特性:1.RIGHT and FULL OUTER JOIN,LEFT
OUTER JOIN 是支持的。2.alter table 不是完全支持;只支持重命名表名和增加列变量,其他操作例如删除列,改变列,增加约束是不能操
作的。3.trigger 不是完全支持。支持对每行建立触...
分类:
数据库 时间:
2014-06-10 20:25:18
阅读次数:
334
$\bf命题1:$设$\int_a^{ + \infty } {f\left( x
\right)dx} $收敛,且${f\left( x \right)}$在$\left[ {a,{\rm{ + }}\infty }
\right)$单调,则$\lim \limits_{x \to + \inft...
分类:
其他好文 时间:
2014-06-10 20:08:59
阅读次数:
295
题目
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 t...
分类:
其他好文 时间:
2014-06-10 18:43:37
阅读次数:
254
第一次看到accept,心里有点小开心/** * Definition for binary tree
* public class TreeNode { * int val; * TreeNode left; * TreeNode right; *
TreeNode...
分类:
其他好文 时间:
2014-06-10 11:53:41
阅读次数:
241