IIS6 和 IE8 无法正确加载 ASP.NET MVC 站点

发布于 2024-09-24 01:01:12 字数 247 浏览 0 评论 0原文

这很奇怪,我希望我能正确解释它。

当我使用 VS2008 进行本地调试时,IE8 看起来像 FF 和 Chrome(减去明显的部分)。效果很好,我很高兴。

当我将 IE8 与 IIS6 框 (Win2003) 或 Cassini 一起使用时,按钮未对齐,出现 javascript 错误,并且出现其他一些 CSS 异常:表格单元格缺少彩色边框、div 元素的尺寸相差 2-3 像素。

如果有人遇到过这个,请告诉我 - 这让我完全困惑

This is odd, and I hope I explain it correctly.

When I debug locally with VS2008, IE8 looks like FF and Chrome (minus the obvious). It works well, and I'm happy.

When I use IE8 with our IIS6 box (Win2003) or Cassini, buttons aren't aligned, javascript errors occur, and some other CSS anomolies occur: Table cells missing colored borders, div elements having different dimensions by 2-3pixels.

If anyone has come across this, please let me know - It's completely baffling me

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

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

发布评论

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

评论(2

心不设防 2024-10-01 01:01:12

IE8 以不同的模式运行,具体取决于它是否访问在本地主机上运行的站点与另一台服务器上运行的站点。我知道这很奇怪。我以前也遇到过这个问题。使用开发人员工具 (F12) 并检查浏览器运行的模式(Quirks、IE7 标准、IE8 标准、IE8 兼容性)。

IE8 runs in different modes depending on if it's visiting a site running on localhost vs another server. It's weird, I know. I've run across this issue before as well. Use the developer tools (F12) and check which mode (Quirks, IE7 Standard, IE8 Standard, IE8 Compatibility) the browser is running in.

绮筵 2024-10-01 01:01:12

是否是客户端缓存的旧 CSS 文件?

Could it be an old CSS file that is cached on the client?

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