上一页 1 2 3 4 5 6 ··· 12 下一页
  2015年7月28日
摘要: 解决:Span 下的width设置不可用?内联元素-span有根据内容自动伸缩的能力,当需要对其宽度设定时,出现无效的情况。Demo:http://jsfiddle.net/JSDavi/ad62kvga/方案:修改display:inline-block; 阅读全文
posted @ 2015-07-28 10:23 tx天翔 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 取消“display:inline-block 相邻元素间有4px的空白间距”Demo:http://jsfiddle.net/JSDavi/p6gcx6nx/例子:aaaaaabbbbbbccccccc解决方案:1、清除(inline-block)元素“”和“”的空白,即上一元素的结束标签和下一元... 阅读全文
posted @ 2015-07-28 10:15 tx天翔 阅读(417) 评论(0) 推荐(0) 编辑
  2015年7月20日
摘要: 在CSS中,标签span 强制换行失败:(使用display:block)可能原因:float:left or float:right 阅读全文
posted @ 2015-07-20 18:23 tx天翔 阅读(401) 评论(0) 推荐(0) 编辑
  2015年7月15日
摘要: 自动添加代码Surroundwith快捷键:Ctrl+Alt+T有if、while、function、try、。。。。 阅读全文
posted @ 2015-07-15 11:15 tx天翔 阅读(432) 评论(0) 推荐(0) 编辑
  2015年2月3日
摘要: NSDate:5是坑啊啊! 1 NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; 2 3 [dateFormatter setDateFormat:@"yyyy/MM/dd hh:mm:ss"]; 4 ... 阅读全文
posted @ 2015-02-03 09:45 tx天翔 阅读(242) 评论(0) 推荐(0) 编辑
  2014年12月26日
摘要: base64字符串(base64String)-存的是image数据NSData* data = [[NSData alloc] initWithBase64EncodedString:base64String options:0];UIImage* image = [UIImage imageWi... 阅读全文
posted @ 2014-12-26 12:05 tx天翔 阅读(485) 评论(0) 推荐(0) 编辑
  2014年12月25日
摘要: 在图形绘制中,我们经常会需要绘制文本,但我在给PDF上绘制Text时,始终绘制不上,使用过:[str drawInRect:cubeRect withAttributes:attrs];CGContextShowTextAtPoint(ctx, 100.0, 100.0, "SOME TEXT", ... 阅读全文
posted @ 2014-12-25 10:09 tx天翔 阅读(522) 评论(0) 推荐(0) 编辑
  2014年12月12日
摘要: 很多时候,我们自定义tableview、collectionview的cell,也有时候我们要自定义窗口xib,但创建xib后,其height、width不可修改。这时问题就来了,怎么才能使我们的自定义xib宽高可修改:项目中创建xib,单独的view时,方法:默认Simulated metric中... 阅读全文
posted @ 2014-12-12 10:15 tx天翔 阅读(3009) 评论(0) 推荐(0) 编辑
  2014年12月6日
摘要: UIUserNotificationSettings* notificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAlert | UIUserNotificationTypeBa... 阅读全文
posted @ 2014-12-06 19:54 tx天翔 阅读(220) 评论(0) 推荐(0) 编辑
  2014年11月30日
摘要: ---恢复内容开始---1、模拟器目录:ProjectNameApk、documents、library(cache、preference、cookies)、temp2、Edit-Refactor(重构)-Convert to Objective-C ARC...3、Product-Profile(... 阅读全文
posted @ 2014-11-30 22:34 tx天翔 阅读(213) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页