1、图片及文字水平居中只需要加上text-align:center即可;2、单行文本垂直居中,高度等于行高即可;3、多行文本及图片垂直居中: 需要在外面嵌套两层,第一层设置固定高度height,和display:table;第二层加上display:table-cell;vertical-align...
分类:
Web程序 时间:
2014-05-09 12:01:19
阅读次数:
359
开发过程中,在使用UItableView
总会遇到加载更多的问题,到底是手势响应瀑布流的方法好?还是添加一个底端cell点击触发加载更多好?我也想有自己的判断。但是我们老板总说了算,没办法,谁叫我给人家打工呢?cell触发式略,这个很简单。下边讲下怎么响应瀑布流。主要有上拉刷新
和下提加载 这两种操...
分类:
移动开发 时间:
2014-05-09 11:55:03
阅读次数:
452
TableView 跟换
Cell的顺序,同时这里提供了iOS7.0一下对UIView截图生存快照的方法,以及iOS7.0以上调用系统提供的快照生成方法···
分类:
移动开发 时间:
2014-05-09 08:54:50
阅读次数:
522
【web开发】☆★之利用POI操作Excel表格系列教程【11】单元格合并packagecsg.xiaoye.poidemo;
importjava.io.FileOutputStream;
importorg.apache.poi.hssf.usermodel.HSSFWorkbook;
importorg.apache.poi.ss.usermodel.Cell;
importorg.apache.poi.ss.usermodel.Row;
importor..
分类:
Web程序 时间:
2014-05-09 07:15:59
阅读次数:
321
【web开发】☆★之利用POI操作Excel表格系列教程【10】单元格填充色和颜色操作packagecsg.xiaoye.poidemo;
importjava.io.FileOutputStream;
importorg.apache.poi.hssf.usermodel.HSSFWorkbook;
importorg.apache.poi.ss.usermodel.Cell;
importorg.apache.poi.ss.usermodel.C..
分类:
Web程序 时间:
2014-05-09 07:00:12
阅读次数:
453
【web开发】☆★之利用POI操作Excel表格系列教程【9】单元格边框处理packagecsg.xiaoye.poidemo;
importjava.io.FileOutputStream;
importorg.apache.poi.hssf.usermodel.HSSFWorkbook;
importorg.apache.poi.ss.usermodel.Cell;
importorg.apache.poi.ss.usermodel.CellStyle;..
分类:
Web程序 时间:
2014-05-09 06:52:17
阅读次数:
346
ZOJ Problem Set - 3780
Paint the Grid Again
Time Limit: 2 Seconds Memory Limit: 65536 KB
Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black ...
分类:
其他好文 时间:
2014-05-09 02:00:35
阅读次数:
506
UITableView
继承自UIScrollView,所以可以滚动,但只能是纵方向上的。UITableView由section和cell组成,填充的内容来自数据源,一般数据源由ViewController作为代理,因此需要遵循它的两个协议,分别是UITableViewDataSource
和UIT...
分类:
其他好文 时间:
2014-05-07 09:59:32
阅读次数:
324
Paint the Grid Again
Time Limit: 2 Seconds
Memory Limit: 65536 KB
Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black or white).
Leo has a...
分类:
其他好文 时间:
2014-05-07 06:56:10
阅读次数:
470
如果placeholderImage 为空的话,会出现显示不出下载的图片,应该给他一个展位图
[cell.imageView
setImageWithURL:imageUrl placeholderImage:nil options:SDWebImageLowPriority |
SDWebImageRetryFailed];
应该: [cell.imageView setI...
分类:
Web程序 时间:
2014-05-07 05:24:58
阅读次数:
685