父窗口中获取iframe中的元素var ifr = document.getElementById('suggustion').contentWindow.document.body;在iframe中获取父窗口的元素格式:window.parent.document.getElementByIdx_...
分类:
其他好文 时间:
2014-08-21 14:57:54
阅读次数:
142
body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,select,table,td,textarea,th,ul { margin: 0; padding: 0}body { min-w...
分类:
移动开发 时间:
2014-08-21 14:51:24
阅读次数:
666
先贴个网址:http://www.uml.org.cn/html/201207311.asp大家可以参考一下面这张转换表(body字体为16px时的值)总结长篇介绍了一大堆,唯一想告诉大家的是以下几点1、浏览器的默认字体大小是16px2、如果元素自身没有设置字体大小,那么元素自身上的所有属性值如“b...
分类:
Web程序 时间:
2014-08-21 13:07:44
阅读次数:
200
Herve Leger dresses sale are positioned to represent its presence unless conditions in the body. Therefore, it is important to hire a good carpet clea...
分类:
其他好文 时间:
2014-08-21 12:50:44
阅读次数:
259
body{background-color:#000\9;}/*ie*/body{background-color:#0f0\9\0;}/*ie9及以上*/body{background-color:#00f\0;}/*ie8及以上*/body{background-color:#f00\0/;}/...
分类:
Web程序 时间:
2014-08-21 11:05:13
阅读次数:
178
xHTML+div经常考题:三个div,两边div宽度固定,中间div宽度自适应。和大家分享一个实现方式:1.html代码1 左栏固定宽度为200px2 右栏固定宽度为200px3 中间自适应宽度2.css代码 1 body{ 2 font-size:12px; 3 margin:0...
分类:
Web程序 时间:
2014-08-20 12:01:52
阅读次数:
178
【转自】:http://www.cocoachina.com/bbs/read.php?tid=209290 工具介绍,json文件获得方法,请参考原帖 MyBodyParser.h 1 // 2 // MyBodyParser.h 3 // 4 // Created by Jason Xu...
分类:
Web程序 时间:
2014-08-20 10:23:56
阅读次数:
242
今天在看http://www.yu1u.org/3419.html这里的网页的时候发现,这里的文字图片不能直接复制,鼠标右键没有反应,经简单查看,可以发现限制这些功能的代码大致如下:
document.body.oncontextmenu=function(){return false;};
document.body.ondragstart=function(){return false;};...
分类:
其他好文 时间:
2014-08-19 20:50:55
阅读次数:
322
设置一个有滚动条的页面css body { height: 1000px; } #div1 { height: 300px; width: 300px; backgrou...
分类:
其他好文 时间:
2014-08-19 15:56:24
阅读次数:
177
①,POST方式:这种方式比较简单,浏览器页面编码是什么格式,后台就用什么格式进行编码,只要在后台加上代码:request.setCharacterEncoding("SHIFT-JIS");//浏览器的编码格式②,GET方式:放在URL后面带的参数的编码和HTTP BODY里的编码不一样,它是系统...
分类:
其他好文 时间:
2014-08-19 14:10:54
阅读次数:
137