`

IE6 or IE7

    博客分类:
  • js
阅读更多
   <!DOCTYPE html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="YES!B/S!,web标准,杨正祎,博客园,实例代码" />
<meta name="Description" content="这是一个简单YES!B/S!文章示例页面,来自杨正祎的博客,http://justinyoung.cnblogs.com/" />
<title>YES!B/S!文章示例页面</title>
<style type="text/css">
.testIE6,.testIE7{
display:none;
}
.testIE6{
_display:block;
}
#testArea > .testIE7{
*display:block;
}
a.testIE8:before{
content:"(如果你用IE浏览器看到这个超链接,说明你的浏览器是IE8.或其他)";
}
</style>
</head>
<body>
<div id="testArea">
<a class="testIE6" href="http://www.cnblogs.com" target="_blank" title="IE6、IE7、IE8共存">
如果你用IE浏览器看到这个超链接,说明你的浏览器是IE6.或更低版本
</a>
<a class="testIE7" href="http://www.cnblogs.com" target="_blank" title="IE6、IE7、IE8共存">
如果你用IE浏览器看到这个超链接,说明你的浏览器是IE7.
</a>
<a class="testIE8" href="http://www.cnblogs.com" target="_blank" title="IE6、IE7、IE8共存">
</a>
</div><!--end: testArea -->
</body>
</html>

 

分享到:
评论

相关推荐

    jQuery select小控件适用IE6、IE7、IE8

    提供原代码,可以根据自己的项目要求修改,只在IE6、IE7、IE8、IE9中测试。有问题联系邮箱:zliuyao2010@163.com 初始化构造 ;" etop="0" edata="{,普通:普通AA,模糊:模糊,右边模糊:右边模糊}"/&gt; 构造方法在:...

    IETAB辅助IE helper

    IETAB辅助IE helper

    ie8安装包 or xp

    可以安装的IE8,试试看吧~

    IE10_OR19CH6(3)andCH7网络计划1.pptx

    IE10_OR19CH6(3)andCH7网络计划1.pptx

    IE8菜单栏设置工具

    IE8的菜单栏没有可以设置关闭的地方,这从一个外国网站上下载到的,是三个...三个文件分别是:Force_IE_Menu_Bar_Always_Off.reg、Force_IE_Menu_Bar_Always_On.reg、Allow_IE_Menu_Bar_to_be_Turned_On_or_Off.reg。

    multiple-ie-setup

    Multiple ie for webmaster or developer

    css中!important的作用(IE6 IE7 FF)及其原理

    important这个规则对Ie6.0,Ie7.0和Firefox能写hack,现在就来讲解这是什么原理: *对于Ie系列浏览器都能够识别, firefox 浏览器则不能识别; !important只有Ie7.0和firefox可以识别,但是Ie6.0不能成功应用. (1)...

    flash on for IE or Chrome

    网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页内打开FLASH网页...

    IE修复PNG问题办法

    --[if lt IE 7]&gt;&lt;style type="text/css"&gt;img{behavior:url('iepngfix.htc');}&lt;/style&gt;&lt;![endif]--&gt; Either ensure the trans.gif file is in the same directory as the HTC file, or edit line fourteen as ...

    CSS3支持IE6, 7, and 8的边框border属性

    你知道吗,今天给大家分享一个脚本工具,可以帮助您启用CSS3的支持IE浏览器(IE6)与新的CSS3属性,包括:border-radius属性,box-shadow(阴影),text-shadow(影子的文本)。 使用方法很简单: behavior: url(ie...

    IE9-Windows7-x64-官方正式版

    You can download Internet Explorer 9 Beta in the language that matches your version of Windows or choose the English version, which works with all versions of Windows Vista and Windows 7. For ...

    IE6: border的transparent透明解决方案

    代码如下: 复制代码代码如下: border:solid 1px transparent; _border-color:tomato; _filter:chroma(color=tomato);... 对IE6,先设置border-color为某种不常用的颜色,然后用IE特有的css滤镜使该颜色为透明。

    解决VUE 在IE下出现ReferenceError: Promise未定义的问题

    IE一些低版本的浏览器对于ES6语法不支持 Promise是es6语法里为了解决异步函数多重嵌套的问题(回调地狱) 说明: 或许你并不没有使用Promise,但是有可能你使用Axios等,其中原理也是Promise,进行了封装而已 解决办法: ...

    IE6、IE7中setAttribute不支持class/for/rowspan/colspan等属性

    在IE6/7中样式“abc”将没有起作用,虽然使用el.getAttribute(‘class’)能取到值“abc”。 又如for属性 代码如下: 姓名:&lt;/label&gt;&lt;input type=”checkbox” id=”name”/&gt; [removed] var lab = document....

    QTP11补丁发布 - 支持IE保护模式

    QTP11补丁发布 - 支持IE保护模式 This patch provides official support for testing applications in Internet Explorer when Internet Explorer is in protected mode. It includes support for working with ...

    CSS技巧:IE6用import导入CSS的问题

    本文描述了一个在IE6下用import导入CSS的问题! 在ie 6中可以先写CSS再加import比如 p {}@import url("base.css"); 但在浏览器里死活是渲染不出来. 用抓包工具跟踪, 根本就没有请求… 如果去掉上面的p选择符,或者放...

    C#实现IE插件BHO【演示】

    98, Windows 2000, Windows 95, or Windows NT版本4.0 操作系统的话,也就一块运行了活动桌面外壳4.71,BHO也被 Windows资源管理器所支持。 BHO是一个COM进程内服务,注册于注册表中某一键下。在启动时,...

    CodeMirror2 IE7/IE8 下面未知运行时错误的解决方法

    原来出错的代码如下: 代码如下: &lt;p xss=removed&gt; ”txtContent” runat=”server” TextMode=”MultiLine” Height=”450″ Width=”98%”&gt;&lt;/asp&gt; &lt;/p&gt; 出错的原因应该是IE7、IE8中的P不支持innerHTML。CodeMirror...

    Open Last Closed Tab--IE撤销关闭窗口插件

    本人win7,ie8亲测可用,而且是相当好用 可以参照这里,有详细解释http://blog.sina.com.cn/s/blog_6e8f9abf0100rzyk.html For Internet Explorer 6, 7, and 8 Accidentally closing webpages in Internet Explorer ...

    span 右浮动折行 解决ie6/7中span右浮动折行问题

    RM8005: IE6 IE7 IE8(Q) 中行内元素后相邻的浮动元素在某些情况下会折行放置在之前行内元素所在行框的底部 标准参考 W3C CSS 2.1 规范文档里对于浮动元素与非浮动行内元素相邻时的情况有如下解释。以下是关键段落: ...

Global site tag (gtag.js) - Google Analytics