Quirks 模式的一般问题

发布于 2024-12-11 05:43:55 字数 186 浏览 5 评论 0原文

我正在开发一个大型网站,该网站有数百个页面,其中包含页眉、页脚、带有 iframe 的弹出窗口、按钮、徽标等。

它已经开发了好几年了。一直以来都没有 DOCTYPE 标签,因此为其编写的所有代码都是针对怪异模式编写的。

这是我的问题: 如果将整个系统切换到非怪癖模式,可能会遇到哪些问题? 是否会出现很多问题以至于不值得更换?

I'm working on a large website that has hundreds of pages with headers, footers, pop-ups w/ iframes, buttons, logos, etc all over it.

It's been developed for several years. The entire time there have been no DOCTYPE tags, so all the code that has been written for it has been written against quirks mode.

Here is my question:
What are the likely issues to run into if switching the whole thing to non-quirks mode?
Are there going to be so many issues that it isn't worth it to switch?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你列表最软的妹 2024-12-18 05:43:55

你应该去尝试一下。进行测试安装并进行测试。

我最近做了同样的事情,但出现了一些问题。大多数时候我没有遇到什么大问题,但有时真的很难修复所有问题,因为标准模式根本不支持 qwirks 模式的一些奇怪行为。但我很高兴完成转换。此外,这些页面在所有浏览器中看起来并不相同,因为 qwirks 并非在所有地方都 100% 相同。

You should go and try it. Make a test installation and test it.

I did the same thing lately and there were some problems. Most of time I had no big problems, but sometimes it is really very hard to fix everything, because standard mode simply doesn't support some weird behaviour of qwirks mode. But I am happy to have the conversion done. Also those pages didn't look the same in all browsers, because qwirks isn't 100% same everywhere.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文