capitalize()把字符串的第一个字符改为大写casefold()把整个字符串的所有字符改为小写center(width)将字符串居中,并使用空格填充至长度width的新字符串count(sub[,start[,end]])返回sub在字符串里边出现的次数,start和end参数表示范围,可选...
分类:
编程语言 时间:
2014-11-02 10:48:30
阅读次数:
185
iOS开发UI基础—手写控件,frame,center和bounds属性一、手写控件1.手写控件的步骤(1)使用相应的控件类创建控件对象(2)设置该控件的各种属性(3)添加控件到视图中(4)如果是button等控件,还需考虑控件的单击事件等(5)注意:View Contollor和view的关系2....
分类:
移动开发 时间:
2014-11-02 09:16:22
阅读次数:
318
去点号list-style:none; 字体居中text-align:center; 链接去下划线text-decoration:none;鼠标禁止右键 单行文字垂直居中,需要div高和行高相等height:60px;line-height:60px;div里的文字水平居中,加上text-align...
分类:
Web程序 时间:
2014-11-01 20:26:32
阅读次数:
191
围绕底边中点旋转
UIView本身是支持旋转的,可以用UIView.transform属性实现旋转。
The origin of the transform is the value of the center property, or the layer’s anchorPoint property if it ...
分类:
移动开发 时间:
2014-11-01 17:50:05
阅读次数:
694
博客原文地址:
The Perfect Symmetry...
分类:
其他好文 时间:
2014-11-01 16:17:33
阅读次数:
158
ImageView的Scaletype决定了图片在View上显示时的样子,如进行何种比例的缩放,及显示图片的整体还是部分,等等。设置的方式包括:1. 在layout xml中定义android:scaleType="CENTER"2. 或在代码中调用imageView.setScaleType(Im...
分类:
移动开发 时间:
2014-11-01 11:36:30
阅读次数:
189
Surface亏损又如何?" title="拦截iPad进军企业市场 Surface亏损又如何?" width="550" style="margin:0px 0px 16px; padding:0px; border:0px; list-style:none; text-align:center; text-indent:0px">
日前,微软发布的2015财年第一财季财报显示,其Surf...
分类:
其他好文 时间:
2014-11-01 01:04:03
阅读次数:
303
1.苹果开发者中心(ios Dev Center):最权威的学习ios开发的地方,提供ios开发所能用到的所有内容(包含文档、指南以及实例代码)。 https://developer.apple.com/devcenter/ios/index.action 2.cocoachina:国内最大的学习....
分类:
移动开发 时间:
2014-10-31 13:32:47
阅读次数:
130
父窗口 创建一个窗口var backinfo = window.showModalDialog('UserSelect.aspx', '', 'dialogHeight=600px; dialogWidth= 600px; edge=Raised; center=Yes;resizable= No;...
微软近期Open的职位:Job DescriptionGroup: Search Technology Center Asia (STCA)/Search Ads - MTTitle: Senior Software EngineerLocation: Beijing, ChinaThe R&D o...
分类:
其他好文 时间:
2014-10-31 13:27:06
阅读次数:
208