Problem Description:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For ex...
分类:
其他好文 时间:
2014-07-07 15:29:11
阅读次数:
280
众所周知,在Firefox下input type=”button”的文字是不好居中的,原因在于Firefox自己比较二,弄了个私有属性,导致以下问题的出现:按钮左右本身有2px的间距(FF私有属性写了padding:0 2px所致);按钮文字居中是不行的(此时设置padding-bottom是没用的...
分类:
其他好文 时间:
2014-07-07 00:50:33
阅读次数:
256
技术人员关注的问题非常多,但常见的至少有以下6种。特此整理,抓住核心问题,解决它。一个人的精力和时间往往非常有限,能把核心问题都解决到位就是成功。" style="margin-top: 0px; margin-bottom: 1em; word-wrap: break-word; color: rgb(34, 34, 34); font-family: 'Roboto Condensed', T...
分类:
其他好文 时间:
2014-07-06 00:28:52
阅读次数:
312
当一个Div块div1里面放着另一个div块div2时1、div1的width,height即content的宽和高为div2的margin-top与margin-bottom和left与right之间的距离;2、当div里面padding有值时,且div2的margin有值时,则div1的边框距离...
分类:
其他好文 时间:
2014-07-03 20:05:04
阅读次数:
192
background: -moz-linear-gradient(top, #8fa1ff, #3757fa); /* Firefox */background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ff4f0...
分类:
Web程序 时间:
2014-07-01 17:55:21
阅读次数:
282
直接上代码
ZeroClipboard Test
.line {
margin-bottom: 20px;
}
/* 复制提示 */
.copy-tips {
position: fixed;
z-index: 9999;
bottom: 50%;
left: 50%;
margin: 0 0 -20px -80px;
background-color: rgba(0,...
分类:
其他好文 时间:
2014-07-01 07:04:53
阅读次数:
245
Android界面的坐标是以左上角为起始点,平行的为X轴,垂直的为Y轴,数值都是递增的。如下图所示:
Android的Rect类是形成一个矩形的区域,区域在Android整个界面中的位置由left,top,right,bottom数值来控制,下面的图介绍了这四个值的意思。...
分类:
移动开发 时间:
2014-07-01 07:00:24
阅读次数:
418
Before I owned a pool I always thought that pool maintenance was going to be a real pain and troublesome. I had heard many horror stories from friends...
分类:
其他好文 时间:
2014-06-30 21:58:20
阅读次数:
316
直接上代码
ZeroClipboard Test
.line {
margin-bottom: 20px;
}
/* 复制提示 */
.copy-tips {
position: fixed;
z-index: 9999;
bottom: 50%;
left: 50%;
margin: 0 0 -20px -80px;
background-color: rgba(0,...
分类:
其他好文 时间:
2014-06-30 17:42:43
阅读次数:
318
题目
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down...
分类:
其他好文 时间:
2014-06-30 11:10:34
阅读次数:
211