随笔分类 -  解决IE6的问题

摘要:JS代码:function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.{var arVersion = navigator.appVersion.split("MSIE")var version = parseFloat(arVersion[1])if ((version >= 5.5) && (document.body.filters)) {for(var j=0; j<document.images.length; j++){var img 阅读全文
posted @ 2013-04-20 13:44 chenguiya 阅读(233) 评论(0) 推荐(0) 编辑
摘要:废话不多说,先看一下下面这段代码:<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>IE6 position:fixed bug</title> <style> *{padding:0;margin:0} p{height:2000px} #gs{border:1px solid #000;position:f 阅读全文
posted @ 2013-04-19 15:07 chenguiya 阅读(261) 评论(0) 推荐(0) 编辑

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