题目:Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining...
分类:
移动开发 时间:
2014-10-27 01:44:33
阅读次数:
231
转自:http://blog.csdn.net/dqjyong/article/details/17896145IOS7中,不仅应用的风格有一定的变化,状态栏变化比较大,我们可以看到UIVIEWCONTROLLER的状态栏与导航栏基本是一体的。因此UIVIEWCONTROLLER的HIDE/SHOW...
分类:
移动开发 时间:
2014-10-26 22:29:29
阅读次数:
155
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:
移动开发 时间:
2014-10-26 14:26:31
阅读次数:
187
题目: 设置元素的top样式方案:ele.style.top = "0px";不兼容浏览器: 所有IE浏览器原因: IE浏览器的top值为数值型, left、right、bottom同样受影响解决方案:if (!(ele.style.top = "0px")) { ele.style.top ...
分类:
Web程序 时间:
2014-10-25 18:43:36
阅读次数:
170
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:
移动开发 时间:
2014-10-25 07:04:38
阅读次数:
181
关于CSS中 position在布局中非常重要,查了很多资料都说的很难理解,下面说说个人的理解:
语法:
position: relative | absolute
relative: 对象遵循常规流,并且参照自身在常规流中的位置通过top,right,bottom,left属性进行偏移时不影响常规流中的任何元素。
absolute: 对象脱离常规流,使用top,right,b...
分类:
Web程序 时间:
2014-10-24 20:45:38
阅读次数:
179
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-10-24 18:14:00
阅读次数:
183
方法:
document.getElementById("xx").style.xxx中的所有属性是什么
盒子标签和属性对照
CSS语法(不区分大小写)
JavaScript语法(区分大小写)
border
border
border-bottom
borderBottom
border-bottom...
分类:
Web程序 时间:
2014-10-24 13:04:34
阅读次数:
267
relative、absolute和float position:relative和position:absolute都可以改变元素在文档中的位置,都能激活元素的left、top、right、bottom和z-index属性。(默认这些属性未激活,设置了也无效) 设置position:relat.....
分类:
其他好文 时间:
2014-10-24 12:35:23
阅读次数:
178
看到网上好多人都是copy别人的答案,就连叙述都一个样的,网上叙述如下:html中水平衡线hr默认高度是两个像素,其中border-top高1px,且颜色为黑,border-bottom高1px颜色为灰,这时看着是阴影效果,去掉阴影效果很简单,只需在css里把border-bottom或border-top属性设置一个为..
分类:
其他好文 时间:
2014-10-24 07:01:05
阅读次数:
175