.pagination>a,.pagination>span{background-color:#fff;border:1pxsolid#ddd;color:#428bca;float:left;line-height:1.42857;margin-left:-1px;padding:6px12px;position:relative;text-decoration:none;}.pagination>a.active,.currentStep,.pagination>span,.pa..
分类:
Web程序 时间:
2014-11-19 02:05:02
阅读次数:
215
在没遇到calc之前我一直在想如果width/height能过写表达式得多好例如100%-30px然后写上width:100%-30px;~无效、郁闷啊!有时我们可以用box-sizing:border-box;来解决一些问题,但还是有些情况无效今天在看css手册的时候发现了一段demo令我眼前一亮copy下来测试一把,其中就是w..
分类:
Web程序 时间:
2014-11-19 02:03:41
阅读次数:
162
var canvas = document.getElementById("myCanvas"), ctx = canvas.getContext("2d"), width = canvas.width, height = canvas.height ...
分类:
其他好文 时间:
2014-11-18 23:37:04
阅读次数:
323
1 .ui-datepicker-trigger{ 2 background-position-x:-32px; 3 background-position-y:-176px; 4 height:30px;width:34px; 5 cursor:pointer; ...
分类:
Web程序 时间:
2014-11-18 23:12:03
阅读次数:
230
svn 删除所有的 .svn文件 find . -name .svn -type d -exec rm -fr {} \;
分类:
其他好文 时间:
2014-11-18 16:16:29
阅读次数:
159
在IE7下文本框如果设置了高度,那么光标不能居中处理方式如下:
加个属性如:style="line-height:32px\9";即可
如果一个页面有多个TAB切换项,且每个TAB切换项是用的H3,在IE8和IE9以上都是正常显示,在IE7下是显示会换行,那么添加如下代码即可:
style="*display:inline;zoom:1;"即可
在IE7下,按钮设置...
分类:
其他好文 时间:
2014-11-18 14:48:13
阅读次数:
126
在你需要使用的地方,首先要调用到这个UITableView,然后设置它的偏移量为 UITableView的内容高度减去UITableView的试图高度
具体demo:
[self.tableView setContentOffset:CGPointMake(0, self.tableView.contentSize.height - self.tableView.height)];...
分类:
移动开发 时间:
2014-11-18 13:37:28
阅读次数:
159
untFastReport.dfm文件:object frmFastReport: TfrmFastReport OldCreateOrder = False Height = 405 Width = 550 object report: TfrxReport Version = '4...
分类:
其他好文 时间:
2014-11-18 13:09:11
阅读次数:
534
多物体运动
div {
width: 100px;
height: 50px;
margin: 20...
分类:
其他好文 时间:
2014-11-18 10:21:24
阅读次数:
127
题目是要求一个字符串中第k小的子串 , 如果想到一个子串必定是一个后缀的前缀 , 那么就可以用后缀数组来解决了 , 后缀数组记录着有序的所有后缀 , 而且每个后缀的不重复的子串数是确定的 , 就是n-sa[i]-height[i] , 如果不理解这个公式, 可以自己对照所有后缀去用笔画 , 既然这个...
分类:
其他好文 时间:
2014-11-17 22:38:37
阅读次数:
239