2016年9月19日

html引用外部js和css

摘要: css: <link rel="stylesheet" type="text/css" href="xx.css" /> js: <script type="text/javascript" src="xx.js"></script> 阅读全文

posted @ 2016-09-19 21:30 Sweet小马 阅读(12907) 评论(0) 推荐(0) 编辑

php数组操作,js数组操作

摘要: 俩语言一块儿学老混。整理一下。 php: 1.声明: 1)$arr1 = array('key1' => 'value1', 'key2' => 'value2' ...);//关联数组,可以写不同键名 2)$arr2 = array('value1', 'value2', 'value3'...) 阅读全文

posted @ 2016-09-19 15:34 Sweet小马 阅读(813) 评论(0) 推荐(0) 编辑

html空白文字宽度

摘要: 原文链接 小写加分号! 阅读全文

posted @ 2016-09-19 11:03 Sweet小马 阅读(1591) 评论(0) 推荐(0) 编辑

html元素两种分类。替换元素和不可替换元素;块级元素和行内元素

摘要: 根据元素本身特点来分类: 块级元素和行内元素 阅读全文

posted @ 2016-09-19 10:42 Sweet小马 阅读(3198) 评论(0) 推荐(0) 编辑

html中行级元素的居中显示。

摘要: 垂直居中。以label标签为例。 <style> #label1{ vertical-align:middle; line-height:40px;<*父元素的height*> } </style> 水平居中。以label标签为例。 1)设置父元素的text-align:center; 2)只自己居 阅读全文

posted @ 2016-09-19 09:56 Sweet小马 阅读(444) 评论(0) 推荐(0) 编辑

导航