码迷,mamicode.com
首页 >  
搜索关键字:div    ( 119410个结果
IE 固定定位; li中有块元素的offset问题
body{ background-image:url(about:blank); background-attachment:fixed; /*ie 防抖动*/}.fix_to_top { _position:absolute; _top:expression(eval(document...
分类:其他好文   时间:2014-08-05 09:28:58    阅读次数:448
清空StringBuilder的三种方法及效率
清空StringBuilder的三种方法及效率大家知道对于字符串频繁拼接是使用stringbuilder.Append方法比使用string+=方法效率高很多,但有时需要清空stringbuilder时却不知道怎么清空,因为它没有clear或empty的方法。那用什么方法呢?在网上搜了一下大概一下三...
分类:其他好文   时间:2014-08-05 09:28:18    阅读次数:216
css中!important的用法总结
无标题文档 这一行末使用important。class的优先级小于id的优先级。IE7是红色,firefox是蓝色。 这一行使用了important 在不同的浏览器下,这行字的色应该不同!IE7,Firefox是红色。IE6是蓝色
分类:Web程序   时间:2014-08-05 09:28:08    阅读次数:312
JavaScript实现计算器功能
截图 :cal.jsJs代码varClass={};Class.calculation=function(){varcalculation={};calculation.result=0;calculation.calculate=function(num1,num2){};calculation....
分类:编程语言   时间:2014-08-05 09:27:18    阅读次数:294
清空stringbuilder
大家知道对于字符串频繁拼接是使用stringbuilder.Append方法比使用string+=方法效率高很多,但有时需要清空stringbuilder时却不知道怎么清空,因为它没有clear或empty的方法。那用什么方法呢?在网上搜了一下大概一下三种方法。1、Remove例: Str...
分类:其他好文   时间:2014-08-05 09:26:48    阅读次数:227
Lesson 41-42 How would you respond?
一 Words 1 think through 充分考虑 schoolwork 功课,学业 2 only to 结果却 eg. Or we will solve one problem only to have to deal with another instead. 3 tutor 导师,家庭教...
分类:其他好文   时间:2014-08-05 09:24:48    阅读次数:277
LeetCode "Recover Binary Search Tree"
An example of in-order traversal application. My intuition is that, we have to serialize it into an array and check, but in-order traversal does exact...
分类:其他好文   时间:2014-08-05 03:03:48    阅读次数:241
HDU 3934
/*这是用的有旋转卡壳的思想。首先确定i,j,对k进行循环,知道找到第一个k使得cross(i,j,k)>cross(i,j,k+1),如果k==i进入下一次循环。对j,k进行旋转,每次循环之前更新最大值,然后固定一个j,同样找到一个k使得cross(i,j,k)>cross(i,j,k+1)。对j...
分类:其他好文   时间:2014-08-05 03:00:58    阅读次数:226
[leetcode]Candy
CandyThere areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following ...
分类:其他好文   时间:2014-08-05 02:55:38    阅读次数:179
WebGIS开发技术杂谈
开发技术杂谈,学习总结...
分类:Web程序   时间:2014-08-05 00:42:28    阅读次数:363
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!