浏览器兼容问题
Annay_li
随遇而安 不失野心
展开
-
IE6双边距bug及其解决办法
<!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title> <style type="text/css"> body,div{ margin:0; padding:0; } #div1{ width:200px; he转载 2016-08-31 15:13:42 · 808 阅读 · 0 评论 -
针对IE6兼容png
1.新建名为dd_belatedpng_0.0.8a-min.js的js文件 js文件代码(已编译好的代码):/** * DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML <IMG/>. * Author: Drew Diller * Email: [email protected]原创 2016-09-01 09:55:46 · 258 阅读 · 0 评论 -
兼容html5
<!--[if lt IE 9]> <script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script> <![endif]--> 注意:以上代码是一个注释,作用是在 IE 浏览器的版本小于 IE9 时将读取 html5.js 文件,并解析它。原创 2016-09-01 09:13:39 · 325 阅读 · 0 评论