易截截图软件、单文件、免安装、纯绿色、仅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] document domain 的说明

先来看段代码:
document.domain = 'ray.com';
这段代码到底是什么意思呢?
首先,我们来看下HTML DOM 关于这个的说明:
domain of type DOMString, readonlyThe domain name of the server that served the document, or null if the server cannot be identified by a domain name.
 这段话的意思是这个值是DO ......

用"blog_backup"导出的html文件,粘贴到CSDN注意

CSDN博客:http://writeblog.csdn.net/PostList.aspx
方法一:用记事本打开index.htm,替换:10pt ---> 12pt,保存后,用IE打开此htm,ctrl+a--ctrl+c,粘贴到博客就行了!
方法二:在csdn发表文章时,选择【图像】后面的【HTML】按钮,再把index.htm源码粘贴上去,什么也不用改动! ......

Struts1的HTML标签库

<html:html>标签有一个 lang 属性,用于显示用户使用的语言:
  <html:html lang="true">
    如果客户浏览器使用中文,那么以上代码在运行时将被解析为普通的 HTML 代码:
  <html lang="zh-CN">
    解释:当 lang 属性为 "true ......

html file上传

前台  <form id="form1" runat="server" enctype="multipart/form-data">
       <input type="flie" id="xxx"> 
        </form>
后台通过 HttpPostedFile f = Request.Files["xxx"]
接收就可以了 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号