重点:系统通过加入到UIScrollView的内容来确定contentSize的大小1.选中viewController,Show the Attributes inspector ->Adjust Scroll View Insets取消选中。2.添加UIScrollView到根View Cont...
分类:
其他好文 时间:
2015-04-17 18:00:04
阅读次数:
236
现象UICollectionView的内容在按Home键再回到APP时,会下沉64像素。原因页面有NavigationBar,正好是64像素,Controller勾选了Adjust Scroll View Insets导致。解决方案在Storyboard中取消勾选Controller的Adjust ...
分类:
移动开发 时间:
2015-04-17 13:21:23
阅读次数:
185
1、实例源码
CSS3的[att=val]选择器
[id=div_border]{
background-color:#C00;
width:110px;
font-family:微软雅黑;
font-size:18px;
font-size-adjust:!important;
font-stretch:expanded;...
分类:
Web程序 时间:
2015-04-11 17:58:17
阅读次数:
363
1、实例源码
CSS3的[att*=val]选择器
[id*=div_border]{
background-color:#9F6;
width:110px;
font-family:微软雅黑;
font-size:18px;
font-size-adjust:!important;
font-stretch:expanded;...
分类:
Web程序 时间:
2015-04-11 17:55:23
阅读次数:
389
1、实例源码
CSS3的[att^=val]选择器
[id^=div_border]{
background-color:#9F6;
width:160px;
font-family:微软雅黑;
font-size:18px;
font-size-adjust:!important;
font-stretch:expanded;...
分类:
Web程序 时间:
2015-04-11 17:54:02
阅读次数:
253
1、实例源码
CSS3的[att$=val]选择器
[id$=div_border]{
background-color:#9F6;
width:160px;
font-family:微软雅黑;
font-size:18px;
font-size-adjust:!important;
font-stretch:expanded;...
分类:
Web程序 时间:
2015-04-11 17:53:48
阅读次数:
187
body{ margin: 0;padding: 0;font-family: "微软雅黑";overflow: hidden;}body,html{-webkit-text-size-adjust: none;width: 100%;height: 100%;}*{text-decoration:...
分类:
Web程序 时间:
2015-04-08 14:38:03
阅读次数:
149
1. 默认字体设置,边距设置 html { font-family: sans-serif; /* 默认字体 */ font-size: 100%; /* 在用户调整窗口大小时,字体大小做相应调整。 */ -ms-text-size-adjust: 100%; /* ...
分类:
其他好文 时间:
2015-04-07 11:42:30
阅读次数:
362
参考:http://www.kankanews.com/ICkengine/archives/106643.shtmliOS下当竖屏转向横屏的时候,发现内容字体会自动变大,通过各种方法设置字体大小都失败了。需要在body中设置如下: text-size-adjust: none; -ms...
分类:
移动开发 时间:
2015-04-06 23:10:00
阅读次数:
164
目前libsvm最新的version是3.17,主要的改变是在svm_group_classes函数中加了几行代码。官方的说明如下:Version 3.17 released on April Fools' day, 2013. We slightly adjust the way class la...
分类:
其他好文 时间:
2015-04-05 16:01:02
阅读次数:
217