<!--[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也能读到这个属性
|
|
|
初级会员
认证
帖子
39
体力
99
威望
0
当前
浙江 杭州
离线
1 天
|
2#大中小发表于 2010-8-2 13:08
|
|
|
高级会员
认证
帖子
415
体力
621
威望
0
当前
浙江 杭州
离线
56 天
专长 前端制作,PHP,CFML
|
3#大中小发表于 2010-8-2 13:13
<!--[if lt IE 6]> 这里取出的是低与ie6的版本 你应该改成 <!--[if lte IE 6]> lt(小于) ltr(小于等于) 其他类推
|
|
|
多脑河
高级会员
认证
帖子
1156
体力
832
威望
1
当前
北京 朝阳区
离线
6 天
专长 编辑
|
4#大中小发表于 2010-8-2 13:14
l = less g = greater t = than e = equal
lt IE 6 就是 less than ie 6,即小于ie6版本 lte 才是小于或等于ie6
.dress { opacity : 0 }
|
|
|
初级会员
认证
帖子
39
体力
99
威望
0
当前
浙江 杭州
离线
1 天
|
5#大中小发表于 2010-8-2 13:37
<!--[if lte IE 6]> <style> .brand_archives .pptp{margin-left:10px;} </style> <![endif]--> 还是读不到
|
分享到:
相关推荐
[endif]–> IE6及其以下版本可见 <!–[if lte IE 7]> <![endif]–> IE7及其以下版本可见 <!–[if IE 6]> <![endif]–> 只有IE6版本可见 <![if !IE]> <![endif]> 除了IE以外的版本 <!–[if lt ...
[endif]–> 只有IE6版本可见 <!–[if lte IE 6]> <![endif]–> IE6及其以下版本可见 <!–[if gte IE 6]> <![endif]–> IE6及其以上版本可见 <!–[if IE 7]> <![endif]–> 只有IE7版本可见 <!–...
IE下判断IE版本的语句...[if lte IE 6]……[endif]
因为IE各版本的浏览器对我们制作的WEB标准的页面解释不一样,具体就是对CSS的解释不同,我们为了兼容这些,可运用条件注释来各自定义,最终达到兼容的目的,感兴趣的朋友可以了解下本
注:可以使用if条件注释语句,使这些文件只在ie6激活,以便在其他浏览器下加快加载速度。 <!--[if lte IE 6]> img, div{behavior:url(iepngfix.htc);} <script type="text/javascript" src="iepngfix_tilebg.js...
--[if lte IE 6]></td></tr></table></a><![endif]--> <li><a href="#nogo" class="four outer">SEARCH<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <h5>Search ...
--[if lte IE 6]> .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...
--[if lte IE 6]> <script>var cssUrl = './source/plugin/amu_kie6/images/style.zh.css'; var cssTS = '本站提示您正在使用基于 Internet Explorer 6 内核的浏览器浏览网页,如果您升级到 Internet ...
ie6 png图片透明方法 <head></head> 之间加入如下代码: <!--[if lte IE 6]> [removed][removed] [removed] DD_belatedPNG.fix('div, ul, img, li, input , a ,span'); [removed] <![endif]-->
–[if lte IE 6]> 这段文字仅显示在 IE6及IE6以下版本。 <![endif]–> <!–[if gte IE 6]> 这段文字仅显示在 IE6及IE6以上版本。 <![endif]–> <!–[if gt IE 6]> 这段文字仅显示在 IE6以上版本(不包含...
<!--[if lte IE 6]> [removed][removed] [removed] DD_belatedPNG.fix('*'); [removed] <![endif]--> 把这个放文件里面就行了
--[if lte IE 6]> <!--[endif]--> 等条件注释来判断IE浏览器版本,并调用不同的样式表。 四、其他重要知识点 1. 使用CSS文件来实现内容和表现的分离。 2. 不要在HTML代码中直接写样式,使用标签来链接CSS文件。 3....
important 可被FireFox和IE7识别 * 可被IE6、IE7识别 _ 可被IE6识别 *+ 可被IE7识别 IE专用的条件注释 <!–其他浏览器 –> <link rel="stylesheet" type="text/css" href="css.css" /> <!–[if IE 7]> &...
这是一个对IE8及以下做前端兼容的文件工具...--对于ie6到ie8做兼容,兼容h5,css3等新特性--> <!--[if (gte IE 6)&(lte IE 8)]> [removed][removed] [removed][removed] [removed][removed] <![endif]-->
<!–[if lte IE 6]> <LINK rel="stylesheet" type="text/css" href="images/StyleSheet.css" /> <![endif]–> <!–[if IE 7]> <...}/*ie6*/ *+html #example{color:green;}/*ie7*/ <!–
<!–[if IE]> Only IE <![endif]–> 仅所有的WIN系统自带IE可识别 <!–[if IE 5.0]> Only IE 5.0 <![endif]–> 只有IE5.0可以识别 ...IE6以及IE6以下的IE5.x都可识别 <!–[if lte IE 7]
这是一款基于javascript实现可调整倒计时间的代码,我们可以手动调整倒计时间,可以精确到“天、时、分、秒”,而且样式布局也很新颖。...--[if lte IE 6]> <script src="js/DD_belatedPNG_0.0.8
<!–[if IE]> Only IE <![endif]–> 所有的IE可识别 <!–[if IE 5.0]> Only IE 5.0 <![endif]–> 只有IE5.0...[endif]–> IE6以及IE6以上都可识别 <!–[if lte IE 7]> Only IE 7/- <![endif]–> IE
–[if lte IE 8]> <meta http-equiv=”x-ua-compatible” content=”ie=7″ /> <![endif]–> <!–[if IE 9]> <meta http-equiv=”x-ua-compatible” content=”ie=9″ /> <![endif]–> 哎,苦...
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 ...