Java时间格式转换大全 import java.text.*; import java.util.Calendar; public class VeDate { /** * 获取现在时间 * * @return 返回时间类型 yyyy-MM-dd HH:mm:ss */ public static
分类:
编程语言 时间:
2016-02-19 09:07:40
阅读次数:
186
CSS 文本属性可定义文本的外观。 通过文本属性,您可以改变文本的颜色、字符间距,对齐文本,装饰文本,对文本进行缩进,等等。 p {text-indent: 5em;}text-indent 还可以设置为负值。字体使用 font-family 属性 定义文本的字体系列。 字体风格 font-styl
分类:
Web程序 时间:
2016-02-19 00:22:36
阅读次数:
153
需求要求: 1.子容器相对父容器垂直居中 2,子容器与父容器的自身高度都是自适应的 解决方案一(table-cell+vertical-align) <style type="text/css"> body{margin:20px;} .parent{width:4em;height:500px;}
分类:
其他好文 时间:
2016-02-18 22:50:14
阅读次数:
221
需求要求: 1.子容器相对父容器水平居中 2,子容器与父容器的自身宽度都是自适应的 解决方案一(inline-block+text-align) <style type="text/css"> body{margin:20px;} .parent{ text-align: center; } .ch
分类:
其他好文 时间:
2016-02-18 22:47:16
阅读次数:
287
<!-- a{color:#464646;text-decoration:none} --> Javascript常用的设计模式详解 阅读目录 一:理解工厂模式 二:理解单体模式 三:理解模块模式 四:理解代理模式 五:理解职责链模式 六:命令模式的理解: 七:模板方法模式 八:理解javascri
分类:
编程语言 时间:
2016-02-18 21:36:09
阅读次数:
741
打开DREAMWEAVER,新建HTML,如下图: body的属性: bgcolor 页面背景色 background 背景壁纸、图片 text 文字颜色 topmargin 上边距 leftmargin 左边距 rightmargin 右边距 bottommargin 下边距 body属性用法示例
分类:
Web程序 时间:
2016-02-18 21:30:59
阅读次数:
317
1 - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text{ 2 3 if ([text isEqualToString:@"\n"
分类:
其他好文 时间:
2016-02-18 21:25:21
阅读次数:
275
<SCRIPT type="text/javascript">var exam_time=${testPaper.examTime*60};//获取后台传的时间if(window.name==''){maxtime = exam_time; //此处几句判断是防刷新关键}else{maxtime =
分类:
Web程序 时间:
2016-02-18 19:40:50
阅读次数:
206
1 <script type="text/javascript"> 2 function Person(name, age, gender) { 3 this.userName = name; 4 this.userAge = age; 5 this.userGender = gender; 6 7
分类:
编程语言 时间:
2016-02-18 19:38:14
阅读次数:
164
In SublimeText Preferences > Package Control. Select "Package Control:Install Package". Now type "SCSS" in the box. Click on first option which appear
分类:
Web程序 时间:
2016-02-18 19:24:05
阅读次数:
160