网络编程
位置:首页>> 网络编程>> 网页设计>> IE的有条件注释详解(附实例代码)(3)

IE的有条件注释详解(附实例代码)(3)

作者:阿一 来源:Yes! B/S ! 发布时间:2009-03-31 13:01:00 

标签:浏览器,ie,兼容,条件注释

只有低于特定版本的才能识别

<!--[if lt IE 7]>
<style type="text/css">
  @import "test.css";
</style>
<![endif]-->

等于或者低于特定版本的才能识别

 <!--[if lte IE 7]>
<style type="text/css">
    @import "test.css";
</style>
<![endif]-->

0
投稿

猜你喜欢

手机版 网络编程 asp之家 www.aspxhome.com