易截截图软件、单文件、免安装、纯绿色、仅160KB

通过HTML 注释性语法判断IE版本

Example:
1.<!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]-->
2.<!--[if IE]> 所有的IE可识别 <![endif]-->
3.<!--[if IE 5.0]> 只有IE5.0可以识别 <![endif]-->
4.<!--[if IE 5]> 仅IE5.0与IE5.5可以识别 <![endif]-->
5.<!--[if gt IE 5.0]> IE5.0以及IE5.0以上版本都可以识别 <![endif]-->
6.<!--[if IE 6]> 仅IE6可识别 <![endif]-->
7.<!--[if lt IE 6]> IE6以及IE6以下版本可识别 <![endif]-->
8.<!--[if gte IE 6]> IE6以及IE6以上版本可识别 <![endif]-->
9.<!--[if IE 7]> 仅IE7可识别 <![endif]-->
10.<!--[if lt IE 7]> IE7以及IE7以下版本可识别 <![endif]-->
Explain:
1.lt:less than 当前指定版本以下,不包含当前版本
2.gt:greater than 当前指定版本以上,不包含当前版本
3.lte:less than or equal 当前指定版本以下,包含当前版本(等于)
4.gte:greater than or equal 当前指定版本以上,包含当前版本(等于)


相关文档:

html标签大全

静态结构
<html>
<head>
<title>标题<title>
</head>
<body>..........文件内容..........
</body>
</html>
1.文件标题
<title>..........</title>
2.文件更新--<meta>
 【1】10秒后自动更新一次
  <meta http-equiv="refresh" content=10>
 【2】10秒後自动连结到另一文件
   ......

HTML元素及控件事件一览表


HTML元素及控件事件一览表
一般事件
事件
浏览器支持
描述
onClick
HTML: 2 | 3 | 3.2 | 4
Browser: IE3 | N2 | O3
鼠标点击事件,多用在某个对象控制的范围内的鼠标点击
onDblClick
HTML: 2 | 3 | 3.2 | 4
Browser: IE4 | N4 | O
鼠标双击事件
onMouseDown
HTML: 2 | 3 | 3.2 | 4
Browser: IE4 | N4 ......

html 获得浏览器高度

有时页面需要获得用户浏览器的高度才能确定内容显示在哪里,代码
<div style="position:absolute; left:0; top:expression(document.body.clientHeight/2-document.body.clientHeight/4)">
</div>
中,expression(document.body.clientHeight/2)即为获得浏览器高度再除以2 ......

c++编写html文件解析器

      最近本来是要去那嵌入式课的,但是那课竟然说人数太少,开不了,靠。所以这两天只能自己研究点东西了。记得自己以前就想动手写一个关于dom的解析引擎,只怪自己太懒,一直没动笔。最近在家也没什么事做,就自己动手写一个,花了一天时间写的差不多了,正好锻炼自己的c++水平吧。
 &nb ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号