inline-block可以定义元素为行内块级元素,即既具有行内元素同占一行的特点,又具有块级元素的box模型。但是IE67和其他浏览器的支持差别比较大:1、行内元素使用inline-block变成"行内块级元素"。
行内元素直接inline-block即可,浏览器都识别,只是IE67中元素彼此之....
分类:
其他好文 时间:
2014-05-01 08:53:47
阅读次数:
297
代码审查在软件项目管理中是经常组织的活动,通过代码审查的工作也确实给我们的团队带来很多的益处,简单谈谈代码审查的感受,你们的团队是否也在进行代码审查的相关工作呢?1.为什么要组织代码审查组织代码审查其主要目的是保障我们的代码质量和软件产品质量,其次是团队的学习提高,共同的成长。可以是两个方面的驱动,...
分类:
其他好文 时间:
2014-05-01 08:52:26
阅读次数:
330
一、方法那些事儿 (1)方法的结构:方法头—指定方法的特征,方法体—可执行代码的语句序列;
(2)方法的调用:参数、值参数、引用参数、输出参数、参数数组; ①参数: 形参—本地变量,声明在参数列表中;形参的值在代码开始之前被初始化;
实参—实参的值用于初始化形参; ②值参数: ...
分类:
其他好文 时间:
2014-05-01 08:49:57
阅读次数:
352
1、将hdp002的数据库放到hdp004后,发现yii出现找不到表messages的迹象。用hdp002远程登录hdp004后发现,原来是hdp004没有授权给hdp002,用下面的sql语句即可:在安装mysql的机器上运行:
1、d:\mysql\bin\>mysql -h localho.....
分类:
数据库 时间:
2014-05-01 08:45:25
阅读次数:
473
本次主题:指针与数组在进入主题前,我们先看一个例子:#includeint main(){
int a[5] = { 1, 2, 3, 4, 5 }; int *ptr = (int *) (&a + 1); printf("%d,%d\n",
*(a + 1), *(ptr - ...
分类:
其他好文 时间:
2014-05-01 08:40:11
阅读次数:
324
ABAP开发中,使用for all entries
in语句将不能使用join的聚集表(例如BSEG)或者需要使用select的内表与内表串联。以BSEG为例:select belnr hkontfrom
bsisinto corresponding fields of table itab1whe...
分类:
其他好文 时间:
2014-05-01 08:38:54
阅读次数:
336
runtime
bundle/vim-pathogen/autoload/pathogen.vimset nocompatible " be iMproved,
requiredfiletype off " required" set th...
分类:
其他好文 时间:
2014-05-01 08:38:20
阅读次数:
327
时间限制:2000ms
单点时限:200ms
内存限制:256MB
描述
Given N arithmetic expressions, can you tell whose result is closest to 9?
输入
Line 1: N (1
Line 2..N+1: Each line contains an expression in the f...
分类:
其他好文 时间:
2014-04-29 13:42:21
阅读次数:
268
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2014-04-29 13:15:21
阅读次数:
415