#Footer { clear: both; background: #F8F8F8 url('images/toolbar_bg.gif') repeat-x; z-index: 99999; ...
分类:
其他好文 时间:
2015-01-19 10:46:42
阅读次数:
156
区别纯修饰图片和图片标签body{background-image:url(/img/patten.gif) /*默认情况下,浏览器会水平、垂直地重复显示背景图片*/}background-repeat:repeat-x;背景图片总出现在背景颜色上面,可以利用这个特点实现些功能:图片高度一定,当内容...
分类:
Web程序 时间:
2015-01-13 21:23:30
阅读次数:
139
.header .grid a:before{background:url(../image/user/avatar.jpg) no-repeat;}小米自带浏览器不支持a:before,直接写成.header .grid a{background:url(../image/user/avatar....
分类:
其他好文 时间:
2015-01-13 21:22:33
阅读次数:
183
求字符串中的最长无重复子串的长度,例如"abcabcbb",最长无重复子串为"abc",长度为3。因为要求无重复,因此想到要用HashMap来保存,因为HashMap的键值不能重复。将要存入的字符作为key,字符在字符串中的下标作为value,如果map中已经存有该字符,则删掉该字符以及字符串中该字符之前的所有字符,然后再存入。例如字符串为"abcbd",如已存入abc,现在要存b,则删掉ab,存...
分类:
其他好文 时间:
2015-01-12 11:38:25
阅读次数:
217
百分比值同关键字很接近,但其操作方式不一样。用百分比值来居中一幅背景图像,也很简单: body { background-image;url(beijing.gif); background-repeat:no-repeat; background-position:50% 50%; } 这使得背景...
分类:
Web程序 时间:
2015-01-09 12:34:50
阅读次数:
264
背景background : background-color || background-image || background-repeat || background-attachment || background-position 默认值为:transparent none repeat ...
分类:
Web程序 时间:
2015-01-09 01:28:17
阅读次数:
197
New Document
div{
margin: 30px 0px 80px;
width: 200px;
height: 50px;
font-size: 18px;
font-weight: bold;
background: none repeat scroll 0% 0% #DEE4EE;
color: #305999;
text-align: center;
line-heigh...
分类:
Web程序 时间:
2015-01-08 21:39:44
阅读次数:
159
1 body{ 2 background-image:url('11.jpg'); 3 background-color:yellow; 4 background-repeat:no-repeat; 5 background-attachm...
分类:
Web程序 时间:
2015-01-07 20:35:21
阅读次数:
194
1.凹进效果background:#f2f2f2 center repeat;border-bottom: 1px solid #e9e9e9;border-top: 1px solid #f9f9f9; 2.突出效果background:#f2f2f2 center repeat;border-t...
分类:
Web程序 时间:
2015-01-07 12:41:51
阅读次数:
132
语法缩写如下:background : [background-color] | [background-image] | [background-position][/background-size] | [background-repeat] | [background-attachment] ...
分类:
其他好文 时间:
2015-01-06 09:44:11
阅读次数:
158