1.Form表单提交返回值处理//提交基本信息表单f.form.submit({clientValidation:true,//表单提交后台处理地址url:'/globe_background/Commonality/AccountClub.ashx?action=updateuserinfofor...
分类:
其他好文 时间:
2014-07-16 23:05:04
阅读次数:
148
::selection{ background-color: #00f; color: white; }::moz-selection{ background-color: #00f; color: white; }::webkit-selection{ background-color: #00f...
分类:
其他好文 时间:
2014-07-12 00:04:42
阅读次数:
172
1. 背景色:listView设置背景色android:background="@drawable/bg",拖动或者点击list空白位置的时候发现ListItem都变成黑色。 因为默认的ListItem背景是透明的,而ListView的背景是固定不变的,所以在滚动条滚动的过程中如果实时地去将当前每个...
分类:
其他好文 时间:
2014-07-11 19:03:16
阅读次数:
180
Bug产生原因:块里面有换行的元素.CSS:.left{float:left;width:100px;background:#fff000;}.right{float:right;width:100px;background:#ff0000;}HTML:左边中间右边ie6显示跳到右边的下一行里面解决...
分类:
其他好文 时间:
2014-07-11 11:04:04
阅读次数:
189
说白就是用样式表切一个大图片现在很多好的网站都是这么写,然后很多位置的图片,就用一张图片,然后一次URL请求就行了,加快网站访问速度这个就是切片工具可以直接导出下图框框中的内容这个是切片工具 全部拆分切开 用CSS精灵的方式合并到一起就ok了这里就是CSS精灵的写法 全用的一张图片 默认是 图片的位置是你div的左上角开始,我们用background-position,给他向左,向上移动一下 ,显...
分类:
Web程序 时间:
2014-07-10 23:48:51
阅读次数:
451
1、CSS的“float”属性
获取给定对象的特定 CSS 属性的基本语法是 object.style.property,有连字符的属性要用骆驼命名法来代替,例如,获取一个 ID 为 “header” 的 div 的 background-color 属性,语法如下:
document.getElementById("header").style.backgroundColor= "#ccc";
但是自从JavaScript将float作为保留字,...
分类:
编程语言 时间:
2014-07-10 23:37:23
阅读次数:
335
History Grading
Background
Many problems in Computer Science involve maximizing some measure according to constraints.
Consider a history exam in which students are asked to put seve...
分类:
其他好文 时间:
2014-07-10 23:04:32
阅读次数:
340
currentStyle:获取计算后的样式,也叫当前样式、最终样式。
优点:可以获取元素的最终样式,包括浏览器的默认值,而不像style只能获取行间样式,所以更常用到。
注意:不能获取复合样式如background属性值,只能获取单一样式如background-color等。
alert (oAbc.currentStyle);
非常遗憾的是,这个好使的东西也不能被各大浏览器完美地...
分类:
其他好文 时间:
2014-07-10 22:40:13
阅读次数:
226
截图如下:(可通过移动中间蓝色的条,来改变左右两边div的宽度)
具体实现代码如下:
.highlightTextSearch
{
background-color: Red;
}
a:hover
{
col...
分类:
其他好文 时间:
2014-07-10 17:46:25
阅读次数:
159
A Knight's Journey
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 29280
Accepted: 10039
Description
Background
The knight is getting bored of seeing the...
分类:
其他好文 时间:
2014-07-09 12:03:01
阅读次数:
293