.header{ width:100%; height:100px; background:red; color:#333333;}aaaaaaaaaaaaaaeeeeeeeeeeeeeeeeeeeeeedddddddddddddddddddddddddddddddddddddddddddd...
分类:
其他好文 时间:
2014-07-19 17:25:05
阅读次数:
134
.div1{ width:100px; height:50px; background-color:Gray; opacity: 0.5; border:1px solid red; box-shadow:0 0 50px inset; border-radius:10px; margin:100px auto}
function gaibian() {
...
分类:
编程语言 时间:
2014-07-19 08:27:20
阅读次数:
214
Random nodes
body {
font: 13pt "courier new";
}
#mynetwork {
width: 600px;
height: 600px;
border: 8px solid blueviolet...
分类:
Web程序 时间:
2014-07-19 02:45:26
阅读次数:
479
先看效果图
这个是我们自己的apk点击之后的效果
下边是布局文件
activity_main.xml主布局文件
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="matc...
分类:
移动开发 时间:
2014-07-19 02:15:46
阅读次数:
280
1、首先创建“返回顶部”元素 2、为窗口的scroll事件绑定处理函数//为窗口的scroll事件绑定处理函数 $(window).scroll(function(){ var min_height = window....
分类:
Web程序 时间:
2014-07-19 00:19:19
阅读次数:
269
刚才写zenktodo的时候,通过动态添加class的方式修改一个div的样式,总是不起作用。Css代码#navigator{height:100%;width:200;position:absolute;left:0;border:solid2#EEE;}.current_block{border...
分类:
Web程序 时间:
2014-07-18 12:22:24
阅读次数:
248
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:
其他好文 时间:
2014-07-18 09:33:38
阅读次数:
194
1. 滚动范围这个可以理解为一张很大的图片,但是UIScrollView大小有限,如果想看到整张图片,滚动范围就需要和图片一样大小。 // 设置内容的宽高 self.scroll.contentSize = image.size; // 增加滚动范围 左上height\w...
分类:
其他好文 时间:
2014-07-18 00:36:29
阅读次数:
189
反复用到却一直记不住...var a = $(window).height() //设备的高度var b = $(window).scrollTop() //滚动的高度var c = $(document).height() //整个文...
分类:
Web程序 时间:
2014-07-18 00:15:51
阅读次数:
175
table {overflow-y:scroll;max-height:152px; height:auto;}问题:ie下,火狐下能正常出现滚动条谷歌不能出现滚动条解决:第1种:头部 120 ? "120px" : (this.scrollHeight < 40 ? "40px" : "auto"...
分类:
其他好文 时间:
2014-07-17 21:22:51
阅读次数:
164