ie浏览器开发比谷歌浏览器

I compare developing for Internet Explorer to growing up in a mental asylum. If you were born in an asylum, you would grow up talking to people who believed they were Napoleon, and that bugs were constantly crawling out of the walls. In that context, the conversations you had with the inmates would make a kind of sense. Once outside the grounds of the asylum however, sudden outbursts of “Green ideas leak from the sky! Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!” would be met with confusion and incredulity by the generally sane populace, making communication very difficult.

我将为Internet Explorer开发与在精神病院长大相比。 如果您是在庇护所出生,那么您会长大后与认为自己是拿破仑的人交谈,并且臭虫不断地从墙上爬出来。 在这种情况下,您与囚犯的交谈会很有道理。 但是,一旦离开庇护所,“绿色理念”的突然爆发便从天而降! Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!” 一般的理智的人们会感到困惑和怀疑,使沟通变得非常困难。

Developing for IE only is living in that madhouse and constantly having that conversation. It’s a far better experience to grow up in the outside world, learning how to talk rationally, using standards, and then go into the madhouse and try to make sense of what is happening there.

仅为IE进行开发就生活在那个疯狂的地方,并且不断地进行对话。 在外部世界长大,学习如何理性地交谈,使用标准, 然后进入疯人院并尝试弄清那里正在发生的事情,这是一种更好的体验。

So my suggested web development workflow is this: develop for a standards-aware browser first. It doesn’t particularly matter which: I prefer Firefox, but Safari, Chrome or IE10+ could work equally well. Then take your work and look at it in earlier versions of IE.

因此,我建议的Web开发工作流程是:首先开发支持标准的浏览器。 哪一个并不重要:我更喜欢Firefox,但Safari,Chrome或IE10 +可以同样出色地工作。 然后开始工作,并在IE的早期版本中进行研究。

IE的问题 (IE’s Issues)

Microsoft’s ongoing development of Internet Explorer is continuing to improve the browser to meet web standards. While it was a great browser when it was introduced, from a historical perspective the standards that IE6 misinterpreted, corrupted or ignored were legion. These deficits were inherited by IE 7, 8, 9. Recently, IE 10+ has attempted to make a clean break, and has made a much better job of supporting standards.

微软正在进行的Internet Explorer开发正在继续改进浏览器以满足Web标准。 虽然它是一个很棒的浏览器,但从历史角度来看,IE6误解,破坏或忽略的标准是众多的。 这些缺陷是IE 7、8、9继承的。最近,IE 10+试图彻底突破,并且在支持标准方面做得更好。

You can get some idea by using IE to visit pages designed to test a browser’s conformance to web standards, such as the Acid 2 and 3 tests, or HTML 5, or looking at the incompatibility tables (and associated solutions) on websites such as quirksmode.org and positioniseverything.net

您可以通过使用IE来访问旨在测试浏览器是否符合Web标准(例如Acid 2和3测试或HTML 5)的网页 ,或者查看网站上的不兼容表(及相关解决方案)(例如quirksmode ),来获得一些想法.org和positioniseverything.net

My goal here is to provide answers to some of the most common problems.

我的目标是为一些最常见的问题提供答案。

Broadly speaking, your goal in developing web pages for IE 7 - 9 is to retain the browser in “hasLayout” mode. hasLayout is somewhat arbitrary state for Internet Explorer, representing its early efforts to follow some web standards. This is an attempt – indeed, following all the rules can nonetheless jump IE out of hasLayout and into the dreaded “Quirks” mode, which means that the browser basically follows its own internal rules and lays your page out however it wants. And even when it is well-behaved, IE doesn’t always follow the rules as it should… but retaining hasLayout mode is better than nothing.

概括地说,为IE 7-9开发网页的目标是将浏览器保持在“ hasLayout”模式下。 对于Internet Explorer, hasLayout在某种程度上是任意状态,表示其遵循某些Web标准的早期努力。 这是一种尝试 –实际上,遵循所有规则仍可以使IE从hasLayout跳入可怕的“ Quirks”模式,这意味着浏览器基本上遵循自己的内部规则,并按需要布置页面。 即使行为良好,IE也不总是遵循应有的规则……但是保留hasLayout模式总比没有好。

A sample of what IE 7 - 9 don’t do:

IE 7-9 执行的操作的示例:

  • No support for CSS3, at all (although you can trick IE into doing some CSS3-like things with its own proprietary filters). 完全不支持CSS3(尽管您可以诱使IE使用其自己的专有过滤器来做一些类似CSS3的事情)。
  • Little support for CSS2, at least up to IE8. So no :first-child, etc.

    几乎不支持CSS2,至少不支持IE8。 所以没有:first-child ,等等。

  • IE 6 and 7 have no support for display: table or related display properties

    IE 6和7不支持display: table或相关显示属性

  • No understanding of HTML5 until IE 9 (and even then only partial), although earlier versions of IE can be tricked into a superficial support of the specification 直到IE 9才了解HTML5(甚至只有部分),尽管IE的早期版本可能会被欺骗为对该规范的肤浅支持。
  • No support for alpha transparency on PNGs until IE8. IE8之前不支持PNG的alpha透明性。

The following bugs and problems are (mostly) constrained to IE6:

以下错误和问题(大多)仅限于IE6:

  • Broken box model – the width of elements is calculated differently in IE6 折线盒模型–元素的宽度在IE6中的计算方式不同
  • Double margin bug

    双重margin错误

  • No awareness of min- or max-width

    min-max-width

  • “Stepdown” on floated elements 浮动元素的“降级”
  • Anything before DOCTYPE triggers Quirks mode. DOCTYPE触发Quirks模式之前的所有操作。

翻译自: https://thenewcode.com/92/Cross-Browser-Development-Dealing-With-IE

ie浏览器开发比谷歌浏览器

ie浏览器开发比谷歌浏览器_跨浏览器开发:处理IE相关推荐

  1. 系统上线发布清单_跨浏览器测试清单上线之前

    系统上线发布清单 This article was originally published on LambdaTest. Thank you for supporting the partners ...

  2. java跨用问题怎么解决_跨浏览器问题的五种解决方案

    c编程技巧-117个问题解决方案示例 79.2元 包邮 (需用券) 去购买 > 简评:浏览器兼容性问题常常让人头疼,以下是避免出现这些问题的五个技巧. 1. 前缀 CSS3 样式 如果您正在使用 ...

  3. 手机百度浏览器怎么设置繁体字_百度浏览器繁体版下载-百度浏览器繁体中文版电脑版 - 极光下载站...

    百度浏览器繁体中文版是一款可以进行多功能使用主页浏览器,通过该软件可以快速搜索到你所需要的内容,在首页的显示功能布局上包含了众多平台的直接点击页面,快速到达到所需要的功能专区,更多功能有需要的用户不妨 ...

  4. 开发web前端_移动前端开发和web前端开发的区别?

    如果说非要有区别的话应该就是开发的软件和方式不同,因为他们本来就不属于一端的东西,具体来看看下面: web前端开发 用最简单粗暴的方式来讲,就是用html + css + javascript来构建一 ...

  5. 原生开发什么意思_成都APP开发:原生APP开发与Web APP开发有什么区别呢?

    智能手机上的APP应用软件对于人们来说已经成为日常工作生活当中必不可少的工具,无论是工作生活中的聊天交流,购物,饮食,出行,娱乐都会有相应的APP软件.目前常见的APP软件开发模式有两种,一种是原生A ...

  6. python后端开发学路线_【后端开发】Python要学哪些内容?Python程序员学习路线图...

    很多零基础入门学习python不知道学习什么?也不知道Python要学哪些内容?下ki4网为您总结一下Python程序员学习路线图. python的应用范围是很广泛的,例如一些网络的爬虫,和web的开 ...

  7. ie浏览器跳转谷歌浏览器_微软IE浏览器的命运:加速死亡

    还有人在用IE浏览器吗?微软今天宣布了一项新举措,IE浏览器也将在死亡之路上越走越远. 8月13日周二,微软将发布新一批月度补丁,其中包含一项重大变化,Windows 7.Windows 8.Wind ...

  8. 如何升级浏览器_绿茶浏览器app下载安装_绿茶浏览器软件最新版免费下载

    绿茶浏览器是由联想官方生产的移动浏览器软件. 它的优点在于其紧凑性. 至于稳定性和流畅性,现在许多浏览器的性能都很好,可以正常使用. 快速浏览所需的网页和其他内容. 软件介绍 绿茶浏览器是联想创建的一 ...

  9. 搜狗浏览器屏蔽广告插件_搜狗浏览器屏蔽芒果TV视频广告:被判不正当竞争,赔了12万...

    认为搜狗浏览器擅自屏蔽湖南卫视视频广告,芒果TV所在的湖南快乐阳光互动娱乐传媒公司以不正当竞争为由,状告北京搜狗信息服务有限公司和北京搜狗科技发展有限公司,北京海淀区人民法院一审判定搜狗赔偿湖南卫视1 ...

最新文章

  1. 论新时代软件测试人员的工作之道(二)之让评审更有意义
  2. 流行的14个机器学习编程语言框架和工具
  3. 我的android studio开发环境搭建历程(一部辛酸史)
  4. PMCAFF专访:搜狗effevo,这一次我们想连接“人”
  5. b g opencv读入的图片 r_OpenCV提取显示一张图片(或者视频)的R,G,B颜色分量
  6. mysql long raw_读取Oracle数据库中LONG RAW字段会抛出异常
  7. dbus 和 policykit 实例篇(python)
  8. 02-Flutter移动电商实战-建立项目和编写入口文件
  9. 95-150-045-源码-Sink-Streaming Parquet File
  10. C++中public,protected,private的区别
  11. 机器人模仿人类动作一学就会,还能举一反三了 | 论文
  12. c#利用反射Assembly 对类和成员属性进行操作
  13. 语音处理基础:预加重、分帧、帧移、加窗、傅里叶变换
  14. 决策树应用实例③——银行借贷模型
  15. 计算机硬件系统包括哪几部分组成,计算机硬件系统由哪几部分组成
  16. 【MATLAB】三维绘图 ( 三维绘图步骤 )
  17. Linux命令:常用进程查看命令
  18. WEB认证苹果手机锁屏后出现断开WI-Fi的现象和解决
  19. python shell 运行py文件,python怎么运行py文件
  20. 几个反垃圾邮件的词汇(XBL,SBL,PBL,ROKSO)

热门文章

  1. Mybatis的模糊查询写法
  2. 生物信息学仿真软件SInC的初步使用教程
  3. html怎么实现聊天界面设计,纯css制作仿微信聊天页面
  4. 2022出海拉美:巴西电商市场现状及网红营销特点
  5. 黑马点评--附近商铺
  6. dpkg-checkbuilddeps: error: Unmet build dependencies: libtest-mockmodule-perl
  7. 服务器机柜与网络机柜
  8. 从编程小白到入门码农的五个途径
  9. Dell电脑搭配Win10休眠 = 黑屏
  10. 数据库---学生选课查询案例---经典查询题