码迷,mamicode.com
首页 >  
搜索关键字:uialertview block    ( 16026个结果
去除inline-block元素间间距的N种方法
一、现象描述 真正意义上的inline-block水平呈现的元素间,换行显示或空格分隔的情况下会有间距,很简单的个例子: 间距就来了~~ 我们使用CSS更改非inline-block水平元素为inline-block水平,也会有该问题: .space a { display: inline-block; padding: .5em 1em;...
分类:其他好文   时间:2014-09-10 12:36:50    阅读次数:221
html-制作导航菜单
导航菜单nav: 1.使用列表标签 2.使用浮动布局float 3.使用超链接标签:要使用标签的margin外边距,需要让标签成为一个块级元素,添加display:block属性 标签代码 logo ...
分类:Web程序   时间:2014-09-09 22:54:39    阅读次数:230
IOS7下,alertView不能使用addSubview添加textField解决办法
UIAlertView *alertView1 = [[UIAlertView alloc] initWithTitle:@"Enter Form Name" message:@"" ...
分类:移动开发   时间:2014-09-09 15:39:58    阅读次数:148
Effective JavaScript Item 12 理解Variable Hoisting
本系列作为Effective JavaScript的读书笔记。   JavaScript中并没有Block Scoping,只有Function Scoping。 因此如果在一个Block中定义了一个变量,那么这个变量相当于是被定义到了这个Block属于的Function中,比如: function isWinner(player, others) { var highest...
分类:编程语言   时间:2014-09-09 12:37:58    阅读次数:188
css水平居中和垂直居中
水平居中:内联元素:text-align:center;相对于父级居中显示块级元素:margin:0 auto;但是需要同时width,否则无法看到效果多个块级元素居中:在此想要探讨一下display:inline-block;和display:flex;方法1:在父级上设置text-align:c...
分类:Web程序   时间:2014-09-09 10:52:48    阅读次数:260
[IOS UIalert模版]
1.alertview创建UIAlertView *alert; alert = [[UIAlertView alloc] initWithTitle:@"提示" message:@"题库有更新,需要更新吗?" delegate:self cancelButtonTitle:@"确定"...
分类:移动开发   时间:2014-09-09 10:35:58    阅读次数:212
同步异步
知道什么叫同步和异步吗?Insynchronousreceiving, while the server is waiting to receive data from a client, if the stream is empty the main thread will block until...
分类:其他好文   时间:2014-09-07 20:58:05    阅读次数:268
XHTML+CSS基础知识(二):块状元素与内联元素
W3C标准中规定的HTML元素有91个,他们可以被分为块状元素(block element)和内联元素(inline element)两种。块状元素一般是其他元素的容器元素,块状元素一般都从新的一行开始,它可以容纳文本、内联元素和其他块状元素,通过width和height属性可以设置其大小。常见的块...
分类:Web程序   时间:2014-09-07 17:11:45    阅读次数:192
浮动:图解两栏布局
图片文字的两栏布局有多种实现方式,基本都要靠浮动实现,但滥用浮动会破换布局的适应性。1.左右浮动图片左浮动,右边div右浮动.inner {overflow:hidden; width=600px}.inner_face {display: block;float: left;}.inner_rig...
分类:其他好文   时间:2014-09-07 14:41:15    阅读次数:167
从smack-config.xml文件中加载文件内容 Loads the configuration from the smack-config.xml file
/**      * Loads the configuration from the smack-config.xml file.      *       * So far this means that:      * 1) a set of classes will be loaded in order to execute their static init block    ...
分类:其他好文   时间:2014-09-07 02:14:04    阅读次数:193
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!