如上图所示:标签及样式如下:.dp_top_amount button{float: left;width:20px;height:22px;cursor: pointer;background:#fff;border:1px solid #ccc;}.dp_top_amount input{flo...
分类:
其他好文 时间:
2015-05-05 15:55:33
阅读次数:
111
<scripttype="text/javascript">varsel=document.getElementById("sel");varlen=sel.options.length;/*//判断select有没有某个值for(vari=0;i<len;i++){if(sel.options[i].value==‘ccc‘){alert("true");}}*///添加一个item/*varopt=newOption("FFFFFFFFFFF","fff");se..
分类:
Web程序 时间:
2015-04-28 19:03:54
阅读次数:
135
二、添加css文件找到style.css.catt{width:100%;height:auto;overflow:hidden;padding-bottom:5px;}.catta{border:#7E7E7E1pxsolid;
text-align:center;background-color:#fff;
margin-left:5px;margin-top:6px;padding-left:10px;padding-right:
10px;display:block;white-spa..
分类:
其他好文 时间:
2015-04-27 15:30:44
阅读次数:
115
<styletype="text/css">*{margin:0;padding:0;list-style:none;}.nav{max-width:960px;overflow:hidden;margin:0auto;border:5pxsolid#F60;padding:10px;}.navul{margin:-10px00-10px;list-style:none;padding:0;}.navli{width:25%;float:left;}.navlia{color:#fff;displ..
分类:
Web程序 时间:
2015-04-27 00:36:38
阅读次数:
191
<styletype="text/css">*{margin:0;padding:0;list-style:none;}.nav{max-width:960px;overflow:hidden;margin:0auto;border:5pxsolid#F60;padding:10px;}.navul{margin:-10px00-10px;list-style:none;padding:0;}.navli{width:25%;float:left;}.navlia{color:#fff;displ..
分类:
Web程序 时间:
2015-04-27 00:36:27
阅读次数:
1660
基本格式:表头内容 第一行第一列第一行第二列第一行第三列 第二行第一列第二行第二列第二行第三列 第三行第一列第三行第二列第三行第三列利用css定义表格属性:1 table{2 background:#666; /*定义表格背景色*/3 color:#FFF; /*定义表格字体颜...
分类:
Web程序 时间:
2015-04-24 12:25:19
阅读次数:
101
/*在给元素设置渐变色时,此时的颜色是作为背景图片来显示*/
#content{ /*针对FireFox浏览器*/ background-image: -moz-linear-gradient(top,#fff,#eee); background-image:-webkit-linear-gradi...
分类:
Web程序 时间:
2015-04-22 11:26:58
阅读次数:
156
var fff=(function(){ var a=1; function fn1(){ a++; console.log(a); }; function fn2(){ return a+10; }; return {f1:fn1, f2:fn2};})() va...
分类:
其他好文 时间:
2015-04-20 20:47:17
阅读次数:
116
.fundNet { height:auto; overflow:hidden;/* Webkit: Safari 4-5, Chrome 1-9 */background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#F3F2F...
分类:
Web程序 时间:
2015-04-20 10:52:30
阅读次数:
147
题目传送门 1 /* 2 水题:判断前后的差值是否为1,b[i]记录差值,若没有找到,则是第一个出错 3 */ 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 using namespace ...
分类:
其他好文 时间:
2015-04-19 21:02:14
阅读次数:
158