1 .count — 计算数组中的单元数目或对象中的属性个数 2 .limit
第几条开始(n-1) 显示几条(y) (n-1)* y =第几页3. css tr:nth_child(odd){ background :#red;} odd
奇数 even 偶数4 表单隐藏域:...
分类:
数据库 时间:
2014-07-22 23:10:14
阅读次数:
389
public
booleanonInterceptTouchEvent(MotionEventev) Implement this method to intercept
all touch screen motion events. This allows you to watch events....
分类:
移动开发 时间:
2014-07-22 23:07:55
阅读次数:
537
给edittext增加
就显示出来边框了android:background="@android:drawable/edit_text"例:
分类:
移动开发 时间:
2014-07-22 23:06:14
阅读次数:
472
1 background: -webkit-gradient(linear,left
bottom,left top,color-stop(0,white),color-stop(0.5,#eee));2 background:
-webkit-linear-gradient(center bott...
分类:
其他好文 时间:
2014-07-22 23:06:13
阅读次数:
364
只需要样式控制即可!.bg {background: #000;position:
absolute;top: 0;left: 0;width: 100%;height: 100%;filter:
alpha(opacity=35);-moz-opacity: 0.35;opacity: 0.35;...
分类:
Web程序 时间:
2014-05-01 16:27:52
阅读次数:
980
CentOS 6.4 64位 源码编译hadoop 2.2.0搭建环境:Centos 6.4
64bit1、安装JDK参考这里2、安装mavenmaven官方下载地址,可以选择源码编码安装,这里就直接下载编译好的wget
http://mirror.bit.edu.cn/apache/maven/m...
分类:
其他好文 时间:
2014-05-01 15:17:23
阅读次数:
524
如果把生活视同战斗,那么大部分决定性的战斗都是在你内心展开的。
分类:
其他好文 时间:
2014-05-01 14:01:17
阅读次数:
299
网上有很多说法,最简单直接正确的做法是判断一下是否为数值以及长度,然后给单元格加上以下CSS即可:mso-generic-font-family:auto;
mso-font-charset:134; mso-number-format:"\@"; mso-background-source:aut...
分类:
其他好文 时间:
2014-04-30 23:20:46
阅读次数:
471
??
属性选择器:
[att*=val]{}若att元素属性值包含val指定字符,则使用该样式
[att^=val]{}若att元素属性值开头字符为val,则使用该样式
[att&=val]{}若att元素属性值结尾字符为val,则使用该样式
例:
[id^=section1]{
background-color: yellow;
}
示例文本2
示例文本1-1
示...
分类:
Web程序 时间:
2014-04-27 21:34:59
阅读次数:
395
项目需要去掉CentOS登陆框直接进入系统,简单的配置即可解决。
修改文件:vim /etc/gdm/custom.conf
加入内容:
[daemon]
AutomaticLogin=自动登陆的用户名
AutomaticLoginEnable=True...
分类:
其他好文 时间:
2014-04-27 21:17:04
阅读次数:
287