`
marc0658
  • 浏览: 78482 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

if lte ie 6

阅读更多

<!--[if lt IE 6]>
<style>
  .brand_archives .pptp{margin-left:10px;}
</style>
<![endif]-->
为什么ie6读不到这个属性
<!--[if IE]>
<style>
  .brand_archives .pptp{margin-left:10px;}
</style>
这样就能读到,我要写一个针对ie6的,怎么办啊
<!--[if lt IE 7]>
<style>
  .brand_archives .pptp{margin-left:10px;}
</style>
<![endif]-->
这么写IE7也能读到这个属性
有没有谁碰到过这个问题啊,帮忙解释一下啊

TOP

<!--[if lt IE 6]>
这里取出的是低与ie6的版本
你应该改成
<!--[if lte IE 6]>
lt(小于)
ltr(小于等于)
其他类推
912ni.com 真爱墙

TOP

l = less
g = greater
t = than
e = equal

lt IE 6 就是 less than ie 6,即小于ie6版本
lte 才是小于或等于ie6
.dress {
    opacity : 0
}

TOP

<!--[if lte IE 6]>
<style>
  .brand_archives .pptp{margin-left:10px;}
</style>
<![endif]-->
还是读不到

分享到:
评论

相关推荐

    IE下判断IE版本的语句…[if lte IE 6]……[endif]兼容css解释

    [endif]–&gt; IE6及其以下版本可见 &lt;!–[if lte IE 7]&gt; &lt;![endif]–&gt; IE7及其以下版本可见 &lt;!–[if IE 6]&gt; &lt;![endif]–&gt; 只有IE6版本可见 &lt;![if !IE]&gt; &lt;![endif]&gt; 除了IE以外的版本 &lt;!–[if lt ...

    IE环境下判断IE版本的语句…[if lte IE 6]……[endif][if lte IE 7]……[endif]

    [endif]–&gt; 只有IE6版本可见 &lt;!–[if lte IE 6]&gt; &lt;![endif]–&gt; IE6及其以下版本可见 &lt;!–[if gte IE 6]&gt; &lt;![endif]–&gt; IE6及其以上版本可见 &lt;!–[if IE 7]&gt; &lt;![endif]–&gt; 只有IE7版本可见 &lt;!–...

    IE环境下判断IE版本的语句...[if lte IE 6]……[endif][if lte IE 7]……[endif]

    IE下判断IE版本的语句...[if lte IE 6]……[endif]

    IE下判断IE版本的语句...[if lte IE 6]……[endif]兼容css解释

    因为IE各版本的浏览器对我们制作的WEB标准的页面解释不一样,具体就是对CSS的解释不同,我们为了兼容这些,可运用条件注释来各自定义,最终达到兼容的目的,感兴趣的朋友可以了解下本

    让IE6支持png半透明图片(支持背景平铺、定位)

    注:可以使用if条件注释语句,使这些文件只在ie6激活,以便在其他浏览器下加快加载速度。 &lt;!--[if lte IE 6]&gt; img, div{behavior:url(iepngfix.htc);} &lt;script type="text/javascript" src="iepngfix_tilebg.js...

    雅虎TAB效果代码 Javascript实现

    --[if lte IE 6]&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/a&gt;&lt;![endif]--&gt; &lt;li&gt;&lt;a href="#nogo" class="four outer"&gt;SEARCH&lt;!--[if IE 7]&gt;&lt;!--&gt;&lt;/a&gt;&lt;!--&lt;![endif]--&gt; &lt;!--[if lte IE 6]&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;![endif]--&gt; &lt;h5&gt;Search ...

    好看的下拉菜单

    --[if lte IE 6]&gt; .menu ul li a.hide, .menu ul li a:visited.hide {display:none;} .menu ul li a:hover ul li a.hide {display:none;} .menu ul li a:hover {color:#fff; background:#36f;} .menu ul li a:hover...

    网页弹框I6版本太低提示下载

    --[if lte IE 6]&gt; &lt;script&gt;var cssUrl = './source/plugin/amu_kie6/images/style.zh.css'; var cssTS = '本站提示您正在使用基于 Internet Explorer 6 内核的浏览器浏览网页,如果您升级到 Internet ...

    ie6 png图片透明

    ie6 png图片透明方法 &lt;head&gt;&lt;/head&gt; 之间加入如下代码: &lt;!--[if lte IE 6]&gt; [removed][removed] [removed] DD_belatedPNG.fix('div, ul, img, li, input , a ,span'); [removed] &lt;![endif]--&gt;

    CSS HACK收集:关于IE6/FF/google等浏览器hack的方法详细

    –[if lte IE 6]&gt; 这段文字仅显示在 IE6及IE6以下版本。 &lt;![endif]–&gt; &lt;!–[if gte IE 6]&gt; 这段文字仅显示在 IE6及IE6以上版本。 &lt;![endif]–&gt; &lt;!–[if gt IE 6]&gt; 这段文字仅显示在 IE6以上版本(不包含...

    IE6 png解决透明问题(1JS)

    &lt;!--[if lte IE 6]&gt; [removed][removed] [removed] DD_belatedPNG.fix('*'); [removed] &lt;![endif]--&gt; 把这个放文件里面就行了

    html和css基础

    --[if lte IE 6]&gt; &lt;!--[endif]--&gt; 等条件注释来判断IE浏览器版本,并调用不同的样式表。 四、其他重要知识点 1. 使用CSS文件来实现内容和表现的分离。 2. 不要在HTML代码中直接写样式,使用标签来链接CSS文件。 3....

    CSS中几种浏览器对不同版本的支持与区分写法

    important 可被FireFox和IE7识别 * 可被IE6、IE7识别 _ 可被IE6识别 *+ 可被IE7识别 IE专用的条件注释 &lt;!–其他浏览器 –&gt; &lt;link rel="stylesheet" type="text/css" href="css.css" /&gt; &lt;!–[if IE 7]&gt; &...

    兼容IE8插件(兼容h5+css3新特性)

    这是一个对IE8及以下做前端兼容的文件工具...--对于ie6到ie8做兼容,兼容h5,css3等新特性--&gt; &lt;!--[if (gte IE 6)&(lte IE 8)]&gt; [removed][removed] [removed][removed] [removed][removed] &lt;![endif]--&gt;

    HTML/CSS对浏览器的判断

    &lt;!–[if lte IE 6]&gt; &lt;LINK rel="stylesheet" type="text/css" href="images/StyleSheet.css" /&gt; &lt;![endif]–&gt; &lt;!–[if IE 7]&gt; &lt;...}/*ie6*/ *+html #example{color:green;}/*ie7*/ &lt;!–

    IE系列的Css if hack条件语法

    &lt;!–[if IE]&gt; Only IE &lt;![endif]–&gt; 仅所有的WIN系统自带IE可识别 &lt;!–[if IE 5.0]&gt; Only IE 5.0 &lt;![endif]–&gt; 只有IE5.0可以识别 ...IE6以及IE6以下的IE5.x都可识别 &lt;!–[if lte IE 7]

    JS实现可调整倒计时间代码分享

    这是一款基于javascript实现可调整倒计时间的代码,我们可以手动调整倒计时间,可以精确到“天、时、分、秒”,而且样式布局也很新颖。...--[if lte IE 6]&gt; &lt;script src="js/DD_belatedPNG_0.0.8

    css 条件注释区分非IE浏览器

    &lt;!–[if IE]&gt; Only IE &lt;![endif]–&gt; 所有的IE可识别 &lt;!–[if IE 5.0]&gt; Only IE 5.0 &lt;![endif]–&gt; 只有IE5.0...[endif]–&gt; IE6以及IE6以上都可识别 &lt;!–[if lte IE 7]&gt; Only IE 7/- &lt;![endif]–&gt; IE

    x-ua-compatible content=”IE=7, IE=9″意思理解

    –[if lte IE 8]&gt; &lt;meta http-equiv=”x-ua-compatible” content=”ie=7″ /&gt; &lt;![endif]–&gt; &lt;!–[if IE 9]&gt; &lt;meta http-equiv=”x-ua-compatible” content=”ie=9″ /&gt; &lt;![endif]–&gt; 哎,苦...

    transform:css3 转换为 ie

    transform v0.0.8css3 transform for ietransform是一个为IE6-8提供css3 transform属性功能的js库,它的使用非常简单transform is a provider of css3 js library functions transform property for IE6-8, it's ...

Global site tag (gtag.js) - Google Analytics