.gist?{
????width:220px;
????height:130px;
????background-image:?url(2.jpg);
????background-repeat:no-repeat;
????border:5px?solid?green;
????background-position:50%?5...
分类:
Web程序 时间:
2015-04-23 18:04:26
阅读次数:
417
calculator.html文件:<!DOCTYPEhtmlPUBLIC""><html><head><styletype="text/css">#dy{color:000000;background:#ffffff;height:100px;width:200px;}</style><title>计数器</title><metahttp-equiv="content-type"content="text/..
分类:
编程语言 时间:
2015-04-23 18:00:19
阅读次数:
508
方法1:_tableview = [[UITableView alloc]initWithFrame:CGRectMake(0, 0,self.view.bounds.size.width,self.view.bounds.size.height)style:UITableViewStylePlai...
分类:
其他好文 时间:
2015-04-23 17:13:45
阅读次数:
111
从手机中选择照片这是几乎所有应用的功能之一,主要考虑到一点的就是如果图片太大了,可能会OOM,简单的处理就是对图片进行压缩!
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
...
分类:
其他好文 时间:
2015-04-23 15:47:17
阅读次数:
160
Title: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 rain...
分类:
移动开发 时间:
2015-04-23 15:33:03
阅读次数:
177
目录目录
题目
思路一
思路二题目Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.
Above is a histogram where...
分类:
其他好文 时间:
2015-04-23 13:33:11
阅读次数:
158
JS:一。 功能描述:点右边的垃圾桶图标,左边的多行输入框内容被清空,,,支持页面中多个这样的功能HTML: CSS: .delbox{ width:65.5%; height:53px; *height:50px; background-color:#3d66a5; b...
分类:
其他好文 时间:
2015-04-23 12:59:01
阅读次数:
278
直接上demo,用法都在程序的注释里了,首先上五渣效果图,
布局代码:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_...
分类:
移动开发 时间:
2015-04-23 09:43:13
阅读次数:
231
先把代码贴着,明天再补充总结!#ifndef PICTURE_H
#define PICTURE_H
#include
using namespace std;
class Picture
{
private:
int height, width;
char * data;
char & position(int row, int col)
{
return data[row*wid...
分类:
编程语言 时间:
2015-04-23 09:40:59
阅读次数:
204
jQuery EasyUI
.drag-item{
list-style-type:none;
display:block;
padding:5px;
border:1px solid #ccc;
margin:2px;
width:300px;
background:#fafafa;
}
#place-hold{
list...
分类:
其他好文 时间:
2015-04-23 09:36:54
阅读次数:
156