哪些网络浏览器最容易出现不兼容问题?
我不是 100% 确定是否应该将其发布在这里,但是我可以在其他地方发布它(绝对不是服务器故障或超级用户),所以希望它不会太不合适。
我目前正在开发一个脚本,希望将其作为 WordPress 和其他开源内容管理系统的插件发布。该脚本的目的是允许网页设计人员根据访问者使用的浏览器动态附加样式表和 JavaScript。因此,如果他们的网站在 Chrome 中看起来有点奇怪,那么他们可以仅针对该浏览器附加 css 或 javascript hack。该脚本还会有更多功能,但这是主要目的。
无论如何,我想知道要支持哪些浏览器,因为我需要知道哪个浏览器给设计师/开发人员带来最大的麻烦。不仅是名称,还有版本(即 Internet Explorer 4)。非常感谢!
I'm not a 100% sure if I should be posting this here but where else can I post it (definitely not Server Fault or Super User) so hopefully it's not too inappropriate.
I am currently developing a script that I hope to release as a plugin for wordpress and other open source content management systems. The script's purpose is to allow web designers to attach stylesheets and javascripts dynamically according to which browser the visitor is using. So if their site looks a little odd in Chrome for example, then they can attach a css or javascript hack just for that one browser. There will be some more features to the script as well but that is the main purpose.
Anyway, I would like to know which browsers to include support for, for that I need to know which one's gives designers/developers the most trouble. Not just the name but also the version (i.e. Internet Explorer 4). Many thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
IE6 是迄今为止所有浏览器中问题最多的。尽管它的使用量逐月下降,但仍然被广泛使用。所有 IE 浏览器总是会遇到显示问题。有时边距不是它们设置的那样,因为您需要深入 css 层次结构来设置所有边距才能了解发生了什么。您无需担心 IE6 以下的任何问题。
IE6 is by far the most problematic of all browsers. Though it's use is declining month by month, it's still widely used. All IE browsers always suffered from display issues. Sometimes margins are not what they were set to, because you need to go down the css hierarchy to set all margins for it to understand what's going on. You shouldn't need to worry about anything below IE6.
网上有很多文章讨论这个话题。
这是一个示例
There are many articles on the Net discussing this topic.
Here's an example
所有版本的 IE...Microsoft 从来不喜欢遵守 W3C 标准,因此他们更喜欢添加 hack 来“符合”
我知道 Opera 浏览器还不支持 CSS3(最新版本)...玩得开心!
All versions of IE...Microsoft never likes to conform to W3C standards so they prefer adding hacks to "conform"
I know Opera browsers don't support CSS3 yet (latest release)....Have fun!
就仍然普遍使用的有问题的浏览器而言,我的投票必须是 IE 6。
My vote as far as problematic browsers still in prevalent use would have to be IE 6.
每当有人谈到“浏览器兼容性问题”时,几乎在所有情况下,真正的问题都出在 IE 上。按照网络标准编写的标记通常在任何其他浏览器中都能很好地工作,除了偶尔的调整外,但是有数十个甚至数百个网站致力于破解和修复 IE,而没有一个专门做同样的事情。事实上,已经有用于此功能的 javascript 库,使 IE 能够像其他更现代的浏览器一样执行,例如 Dean Edwards ie7.js 和“maximize”(我认为它被称为)。
大多数开发人员编写标准,在现代浏览器中进行测试,必要时进行调整,然后用颤抖的手打开 IE。现代浏览器不需要单独的 CSS 和 javascript。虽然有些人可能更喜欢使用 IE 来这样做,但我们大多数人都用条件注释来凑合,并为 IE 提供 IE 自我纠正所需的信息。
Whenever anyone speaks of "browser compatibility issues", in almost all cases, the real problems are with IE. Markup written to web standards generally work well in any other browser save an occasional adjustment, but there are tens if not hundreds of web sites dedicated to hacking and fixing IE while there are none dedicated to doing the same. In fact, there are already javascript libraries for this very thing, getting IE to perform like other more modern browsers, such as Dean Edwards ie7.js and 'maximize' (I think it's called).
Most developers write to standards, test in the modern browsers, adjust if necessary, then, with a shaky hand open IE. Separate CSS and javascript for modern browsers is not necessary. While some may prefer to do so with IE, most of us make do with conditional comments and feed IE what IE needs to right itself.
现在大多数人都在为 IE6+ 进行设计,这意味着他们正在为 W3C 标准进行设计,而 IE6 则充当了后卫。这是一个很棒的网站,它按浏览器细分了所有功能,从 IE6 开始。
Most people are designing for IE6+ these days, meaning that they are designing for W3C standards with IE6 bringing up the rear guard. Here's a fantastic site that breaks down all the features browser by browser, from IE6 on up.