随笔分类 -  兼容补丁

摘要:1.图片在HTML页面中,使用HTC文件: CSS文件中加这样一行代码: img{behavior:url(img/iepngfix.htc);} img是你HTC文件存放的位置 ;另外,这个位置更改,HTC文件也需要修改:IEPNGFix.blankImg = 'img/blank.gif';iepngfix.htc和blank.gif,下载地址:http://www.cnblogs.com/myflora/archive/2012/05/03/2481443.htmliepngfix.htc的使用使用方法:下载脚本脚本,将其中的iepngfix.htc和blank.gif解 阅读全文
posted @ 2012-05-24 15:47 KOJYA 阅读(248) 评论(0) 推荐(0) 编辑
摘要:a,area { blr:expression(this.onFocus=this.blur()) } /* for IE */:focus { -moz-outline-style: none; } /* for Firefox */a { outline:none; } /* for FF Chrome */ 阅读全文
posted @ 2012-05-03 16:07 KOJYA 阅读(228) 评论(0) 推荐(0) 编辑
摘要:a.在HTML中书写只让 IE 6 执行的写法: <!--[if lte IE 6]><![endif]--> 补充:IE条件注释是一种特殊的HTML注释,这种注释只有IE5.0及以上版本才能理解。比如普通的HTML注释是:<!--This is a comment-->而只有IE可读的IE条件注释是:<!--[if IE]> <![endif]-->“非IE条件注释”:<!--[if !IE]>--> non-IE HTML Code <!--<![endif]-->“非特定版本IE条件注释”(很 阅读全文
posted @ 2012-02-17 14:57 KOJYA 阅读(407) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示