龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > div+css/html >

css hack 使用方法

时间:2012-12-29 08:41来源:未知 作者:admin 点击:
分享到:
css hack 使用方法

css有很多不兼容问题了,上次我写了篇css ie6 ie7 firefox兼容写法的写法了,今天我们再次来讲一下关于css兼容性的写法利用hack来实现吧。

<!--[if lt IE 7]>
<style type="text/css">
 h1,.gallery span,dd ,#aoyoulogo,#info{ behavior: url(iepngfix.htc); cursor: pointer; }
</style>
<![endif]-->

看这段代码,以前在我未接触css hack之前以为这是一段给注解了代码哦,不过后来发现我错了。

 


精彩图集

赞助商链接