在使用 ng-repeat 的时候,遇到如上问题,解决办法http://www.anujgakhar.com/2013/06/15/duplicates-in-a-repeater-are-not-allowed-in-angularjs/ng-repeat = "item in items tra...
分类:
其他好文 时间:
2015-01-20 10:17:49
阅读次数:
167
#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
XPages下的工作流演示网页外观的可能性在技术上超过Notes客户端里的表单,Web应用程序在页面设计上花费的精力和取得的效果也远远超过基本保持传统客户端应用程序界面风格的Notes。我是程序员,不是设计师。在下面的演示里,页面都以展现功能为主,基本采用XPages的默认输出。按状态分类显示采购单的视图:采购单页面:单击Flow actions…按钮弹出的对话框:流程设置先来看看这个采购系统的流...
分类:
其他好文 时间:
2015-01-09 12:34:55
阅读次数:
131
百分比值同关键字很接近,但其操作方式不一样。用百分比值来居中一幅背景图像,也很简单: 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