//$num 随机数量 // $size 字体大小 // $width 宽度 //$height高度//./tahoma.ttf 为显示的字体 function vCode($num = 5, $size = 20, $width = 100, $height = 50) { !$width...
分类:
Web程序 时间:
2015-07-08 18:04:33
阅读次数:
149
1、word-wrap:break-word; 内容将在边界内换行,仅用于块对象,内联对象要用的话,必须要设定height、width或display:block或position:absolute。 2、word-break:break-all; 用于处理单词折断。(注意与第一个属性...
分类:
Web程序 时间:
2015-07-08 16:47:38
阅读次数:
179
Documentmeta标签viewport视图窗口,移动端特属的标签。一般使用下面这段代码即可:上面的代码依次表示设置宽度为设备的宽度,默认不缩放,不允许用户缩放(即禁止缩放),在网页加载时隐藏地址栏与导航栏(ios7.1新增)。width – // [pixel_value | ...
分类:
移动开发 时间:
2015-07-08 16:15:21
阅读次数:
132
#import "ViewController.h"#import #import #import "CustomView.h"#define width self.view.frame.size.width//#define height self.view.frame.size.height@i...
分类:
其他好文 时间:
2015-07-08 16:08:56
阅读次数:
119
HTML home contact us web map CSS#nav{width:150px; font:"Arial" 14px; text-align:right;} #nav ul{list-style-type:...
分类:
其他好文 时间:
2015-07-08 16:06:52
阅读次数:
120
前端开发框架Bootstrap 网址:http://www.dnzs.com.cn/w3cschool/bootstrap/bootstrap-tutorial.html需要加入代码一起三段代码css代码.wrap{/*width: 980px;*/ margin: 0 auto;}@media(m...
分类:
其他好文 时间:
2015-07-08 12:24:07
阅读次数:
143
在空间属性里面加一个 android:fillViewport="true" 没有满上的时候填充整个视图窗口...
分类:
其他好文 时间:
2015-07-08 11:02:48
阅读次数:
97
方法一:用css3的媒体查询来设置html {font-size:12px}@media screen and (min-width:480px) and (max-width:639px) {html {font-size: 15px;}}@media screen and (min-width:...
分类:
移动开发 时间:
2015-07-08 10:44:02
阅读次数:
166
1 #import "RootViewController.h" 2 3 #define width [UIScreen mainScreen].bounds.size.width 4 #define heigthY 150 5 #define scrollTime 1 6 7 ...
分类:
其他好文 时间:
2015-07-08 00:22:59
阅读次数:
163
在CSS布局中,我们需要设置隐藏元素,以实现加载事件后出现的效果。我们列举一下隐藏的方法:1、display:none;//设置元素消失;2、visibility:hidden;//设置元素隐藏;3、width/height;//可以实现拉链式显示;4、透明度;//可以渐隐渐显的效果;5、改变lef...
分类:
Web程序 时间:
2015-07-07 22:43:58
阅读次数:
182