HTML中设置背景图的两种方式
1、background
background:url(images/search.png) no-repeat top;
2、background-image
background-image:url(images/search.png);
background-repeat:no-repeat;...
分类:
Web程序 时间:
2014-08-25 22:50:35
阅读次数:
295
.bg { background-image: url(images/bg.jpg); background:url('../images/bg.jpg') no-repeat scroll center 0% 0% transparent; -webkit-background-size: cov...
分类:
其他好文 时间:
2014-08-25 18:47:34
阅读次数:
205
网页背景图片代码1.(最普遍类)说明:以上代码为网页背景图片固定代码!网页背景图片固定代码,这样,当向下拉网页时,网页背景图片不会跟着向上移动,达到不动的目的!2.(综合类)3. 说明:no-repeat;(不平铺)改为这个repeat(平铺)你要以看一下两边方法一:文章编辑的时候点击创建表格后.....
分类:
Web程序 时间:
2014-08-23 17:42:21
阅读次数:
165
We will construct an infinitely long string from two short strings: A = "^__^" (four characters), and B = "T.T" (three characters). Repeat the followi...
分类:
其他好文 时间:
2014-08-20 15:43:02
阅读次数:
178
//行绑定 protected void rpList_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item ...
分类:
其他好文 时间:
2014-08-18 10:44:33
阅读次数:
220
background-color:颜色的各种表示方式都可以background-image:none / url()----------------------------经常忘记url()的编写background-repeat:repeat(默认) / no-repeat / repeat-x ...
分类:
其他好文 时间:
2014-08-14 16:15:48
阅读次数:
180
[问题描述]设有已知面额的邮票m种,每种有n张。问:用总数不超过n张的邮票进行组合,能组合的邮票面额中可以连续出现的面额数最多有多少?(1> 1]; repeat while a[i]j) then begin y:=a[i];a[i]:=a[j];a[j]:=y...
分类:
其他好文 时间:
2014-08-12 21:40:44
阅读次数:
400
The PragmaticProgrammer
读书笔记之一
DRY-Don’t RepeatYouself
虽然自己买了很多软件工程方面的书,但是因为时间的问题,一直没有静下心来充充电。最近因为感觉自己在编程方面迫切需要有进一步的提高,于是打算好好的研读一下Andrew
Hunt和David Thomas合著的《The
Pragmatic Prog...
分类:
其他好文 时间:
2014-08-09 21:31:49
阅读次数:
352
网页背景图片代码1.(最普遍类)说明:以上代码为网页背景图片固定代码!网页背景图片固定代码,这样,当向下拉网页时,网页背景图片不会跟着向上移动,达到不动的目的!2.(综合类)3. 说明:no-repeat;(不平铺)改为这个repeat(平铺)你要以看一下两边方法一:文章编辑的时候点击创建表格后.....
分类:
Web程序 时间:
2014-08-09 18:29:29
阅读次数:
319
直接说解决方法:
假设一张拼合好的大图大小是:900 x 1000 px (如上图)
现在想取图中左上角的河马图标,并缩小图标的大小。
正常取图:
.sprite {
background: url('imgs/woqu_localjoin_all.png') no-repeat -21px -80px;
width: 190px;
height: 154px;
}
现在取正...
分类:
Web程序 时间:
2014-08-08 18:09:57
阅读次数:
233