码迷,mamicode.com
首页 > 2015年05月06日 > 全部分享
父级是relative,子级为absolute的情况下,子级宽度自适应
经常见到这种排版,父级的css 有relative,而子级的css含有absolute,这样,子级宽度自适应的话是不会超过父级的宽度.解决办法有两种:1.给子级设置宽度.2.给子级设置css属性 white-space:nowrap;
分类:其他好文   时间:2015-05-06 21:05:18    阅读次数:715
URAL1009——DP——K-based Numbers
DescriptionLet’s considerK-based numbers, containing exactlyNdigits. We define a number to be valid if itsK-based notation doesn’t contain two success...
分类:其他好文   时间:2015-05-06 21:06:40    阅读次数:131
Objective -C Object initialization 对象初始化
Objective -C Object initialization对象初始化1.1 Allocating Objects分配对象Allocation is the process by which a new object is born.allocation是新对象诞生的过程。Sending t...
分类:其他好文   时间:2015-05-06 21:04:11    阅读次数:90
jaxb使用
一、前言JAXB——Java Architecture for XML Binding,是一项可以根据XML Schema产生Java类的技术。JAXB提供将XML实例文档反向生成Java对象树的方法,也能将Java对象树的内容重新写到XML实例文档。二、JAXB相关的class和interface...
分类:其他好文   时间:2015-05-06 21:04:37    阅读次数:139
windows server 2012安装.net framework3.5失败解决方法
1.点击开始运行,输入 gpedit.msc,打开“组策略”2.“计算机配置”---“管理模板”---“windows 组件”---“windows 更新”,然后双击“指定 Intranet Microsoft 更新服务位置”选择为“未配置”3.再输入命令:gpupdate /force
分类:Windows程序   时间:2015-05-06 21:06:07    阅读次数:454
【LeetCode】136.Excel Sheet Column Title
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2015-05-06 21:04:02    阅读次数:137
Ext.Ajax.request同步请求
导读:ajax分为2种,一种是同步,一种是异步同步:代码执行完了之后才执行后面的代码异步:代码刚执行,后面的代码就马上接着执行了,不管前面的代码是否执行完异步的情况下,要获得返回信息,就需要在异步执行完之后写代码,也就是在success里面写代码,或者success里面调用其他的函数。在Ext3.0...
分类:Web程序   时间:2015-05-06 21:03:28    阅读次数:156
poj1528---(数论)
题意:一个数除了自身以外的所有因数相加,得到的数如果小于自身,输出deficient,否则输出abundant,如果相等,输出perfect这道题核心:求一个数的所有除本身之外的因数的和int sum=1,i; for(i=2;i#include int main(){ i...
分类:其他好文   时间:2015-05-06 21:04:17    阅读次数:126
31-Next Premutation
【题目】Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not pos...
分类:其他好文   时间:2015-05-06 21:04:30    阅读次数:130
Graphics and Animation in iOS
usingSystem;usingUIKit;usingCoreGraphics;usingFoundation;namespaceGraphicsAnimation{ publicclassTriangleView:UIView { CGPathpath; publicTriangleView.....
分类:移动开发   时间:2015-05-06 21:04:52    阅读次数:128
1N系列稳压二极管参数
1N系列稳压二极管参数型号稳定电压型号稳定电压型号稳定电压1N52367.51N5738121N6002121N52378.21N5739131N6003131N52388.71N5740151N6004151N52399.11N5741161N6005161N5240101N57421...
分类:其他好文   时间:2015-05-06 21:02:59    阅读次数:115
java json的处理
maven依赖 com.alibaba fastjson 1.2.5 读取jsonclass ReadJSON{ public static void main(String[] args) { String jsonStr = "{...
分类:编程语言   时间:2015-05-06 21:03:38    阅读次数:172
【LeetCode】96.Unique Binary Search Trees
Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. 1.....
分类:其他好文   时间:2015-05-06 21:02:41    阅读次数:134
poj 1835 宇航员
http://poj.org/problem?id=1835宇航员Time Limit:2000MSMemory Limit:30000KTotal Submissions:4802Accepted:2058Description问题描述: 宇航员在太空中迷失了方向,在他的起始位置现在建立一个虚拟....
分类:其他好文   时间:2015-05-06 21:03:30    阅读次数:159
以后可能用到的命令
mv file file2 都是文件就是重命名mv file file2 dir 如果dir是文件夹就是移动rn fime 删除文件grep [-acinv] '查找字符串' file 在file里面查找字符串 -c会统计次数 -i忽略大小写mkdir -p dir 创建文件夹p 确保目录名称存在,...
分类:其他好文   时间:2015-05-06 21:01:31    阅读次数:140
利用Excel批量高速发送电子邮件
利用Excel批量高速发送电子邮件,分两步:1. 准备待发送的数据: a.) 打开Excel,新建Book1.xlsx b.) 填入以下的内容,第一列:接收人,第二列:邮件标题,第三列:正文,第四列:附件路径注意:附件路径中能够有中文,可是不能有空格这里你能够写很多其它内容,每一行作为一封邮件发出。...
分类:其他好文   时间:2015-05-06 21:03:33    阅读次数:142
VHDL之code structure
VHDL code is composed of at least3 fundamental sections: 1) LIBRARY declarations: Contains a list of all libraries to be used in the design. Forexamp...
分类:其他好文   时间:2015-05-06 21:01:33    阅读次数:188
2218条   上一页 1 ... 16 17 18 19 20 21 22 ... 131 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!