- 浏览: 50099 次
- 性别:
- 来自: 杭州
最新评论
文章列表
static :在layout流中,且位置固定,不受top,left,right,bottom影响(如有需要使用relative)
relative: 在layout流中,虽然受top,left,right,bottom影响,但在原来的地方占据空间
absolute:脱离layout流,根据top,left,right,bottom元素来确定位置。
fixed: 脱离layout流,根据top,left,right,bottom元素来确定位置,但是基于浏览器界面左上角为原点,不受滚动条的影响,一致固定在这个位置。
原链接:http://blog.sina.com.cn/s/blog_520998920100af7h.html
1、配置根Logger
其语法为: log4j.rootLogger = [ level ] , appenderName1, appenderName2, … level : 是日志记录的优先级,分为OFF、FATAL、ERROR、WARN、INFO、DEBUG、ALL或者您定义的级别。Log4j建议只使用四个级别,优 先级从高到低分别是ERROR、WARN、INFO、DEBUG。通过在这里定义的级别,您可以控制到应用程序 ...
时间类型不对
数据库的时间类型是date型
传人的参数类型是datetime型
转自:http://blog.sina.com.cn/s/blog_5d64f7e301017kh0.html
function a(){document.write("屏幕分辨率为:"+screen.width+"*"+screen.height+"<br />"+"屏幕可用大小:"+screen.availWidth+"*"+screen.availHeight+"<br />"+"网页可见区域宽:"+document ...
function getExplorer() { var explorer = window.navigator.userAgent ; //ie if (explorer.indexOf("MSIE") >= 0) { alert("ie"); } //firefox else if (explorer.indexOf("Firefox") >= 0) { alert("Fire ...
<html>
<head>
</head>
<body>
<style>
table,table td,table th{border:1px solid #ff0000;border-collapse:collapse;}
</style>
<table width="50%" style="table-layout:fixed;word-break:break-all;background:#f2f2f2">
...
问题一:
在父页面中 通过更改 iframe的src 改变子页面 然后在父页面的函数中对子页面进行数据操作时 无法显示。
应该在子页面中通过 $(document).ready(function(){
window.parent.menthod();//调用父页面的函数对子页面界面操作;
});
原因:个人认为是在父页面中 更改iframe 的src 后,在子页面没有加载完成后,直接对子页面操作,导致后期操作部分无法显示。(chrome , ie )个人猜想有待考证。
问题二:
在父页面中 更改iframe src 后,在子页面加载完成后,调用子页面函 ...
<div id = "click" ><input type="text" style="display: block;" name ="inputusername" id = "inputusername" onFocus="showselect()" onKeyUp="SelectTip(0)"> <select id = "username" style="display: none; ...
http://www.360doc.com/content/14/0214/18/1457948_352511645.shtml
一、适应的浏览器版本不同
mozilla中: addEventListener的使用方式: target.addEventListener(type, listener, useCapture); target: 文档节点、document、window 或 XMLHttpRequest。 type: 字符串,事件名称,不含“on”,比如“click”、“mouseover”、“keydown”等。 listener :实现了 EventListener 接口或者是 JavaScript 中的函数。 useCapture :是否使用捕捉,一般用 false 。例如:doc ...
<p>
<label>请选择一个图像文件:</label>
<input type="file" id="demo_input" />
</p>
<div id="demo_result">
<!-- 这里用来显示读取结果 -->
</div>
...