上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 设定行间距和行高 http://www.w3school.com.cn/cssref/pr_dim_line-height.asp 阅读全文
posted @ 2016-04-15 17:45 Carolina 阅读(80) 评论(0) 推荐(0) 编辑
摘要: --skip-grant-tables是一个mysql启动参数。意思是在mysql启动时不启动grant-tables(授权表)。 操作方法: 1、杀掉原来进行着的mysql rcmysqld stop或service mysqld stop或kill -TERM mysqld 2、以命令行参数启动 阅读全文
posted @ 2016-04-15 17:32 Carolina 阅读(95) 评论(0) 推荐(0) 编辑
摘要: HTML标签可以自定义属性,但是我们要考虑其在IE、Firefox以及chrome下的兼容性问题。例如: <div id="newTest" myAttr="getAttr"></div> 复制代码 <div id="newTest" myAttr="getAttr"></div> 这里的“myAt 阅读全文
posted @ 2016-04-15 17:13 Carolina 阅读(1480) 评论(0) 推荐(0) 编辑
摘要: open()方法用于打开一个新的浏览器窗口或查找一个已命名的窗口 原型 window.open( URL, name, specs, replace ) 参数 URL:可选。打开指定页面的URL。如果没有指定URL,打开新的空白窗口。 name:可选。指定target属性或窗口的名称。支持以下值: 阅读全文
posted @ 2016-04-15 17:10 Carolina 阅读(1041) 评论(0) 推荐(0) 编辑
摘要: js编译器在调用setTimeout()会马上执行以后的语句,等到了规定时间在执行setTimeout()方法里面的代码,而并不会一直阻塞到规定时间再继续执行程序。 阅读全文
posted @ 2016-04-15 15:12 Carolina 阅读(153) 评论(0) 推荐(0) 编辑
摘要: https://www.fontsquirrel.com/tools/webfont-generator 原文 @font-face是CSS3中的一个模块,主要用来把自己定义的web字体嵌入到你的网页中。 语法规则 @font-face{ font-family:<yourwebfontname>; 阅读全文
posted @ 2016-04-15 14:29 Carolina 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 所有主流浏览器都支持<label>标签 定义和用法 <label>标签为表单元素定义标注(标记)。(将label的for属性和相关元素的id属性设置为相同) 当用户选择该标签时,浏览器就会自动将焦点转到和该标签相关的表单控件上。 属性 for 值:id 规定label绑定到哪个表单元素。 form 阅读全文
posted @ 2016-04-15 13:58 Carolina 阅读(2140) 评论(0) 推荐(0) 编辑
摘要: (PHP4,PHP5,PHP7) 函数原型: string substr( string $string, int $start [, int $length ] ) 返回字符串string由start和length参数指定的子字符串 参数: string:输入字符串。 start:如果start是 阅读全文
posted @ 2016-04-15 13:42 Carolina 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 数组函数 (PHP 4,PHP 5,PHP7) 函数原型: mixed array_pop(array &$array) 函数作用:array_pop()弹出并返回array数组的最后一个单元,并将数组array的长度减一。如果array为空或者不是数组将返回NULL。 参数 array:需要做出栈 阅读全文
posted @ 2016-04-15 11:53 Carolina 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 删除一列数据 alter table 表名 drop column 列名 注:在主流数据库下,删除列的语法是一致的,并无差别。 添加一列数据 alter table 表名 add 列名 数据类型 eg: alter table mytable add mycol int(11); 修改一项数据 up 阅读全文
posted @ 2016-04-15 11:23 Carolina 阅读(1541) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页