简体   繁体   English

页面未显示在IE6中

[英]Page not displaying in IE6

I have a page that refuses to render in IE6. 我有一个页面拒绝在IE6中呈现。 When I load the page I get a popup message saying 'This page contains both secure and nonsecure items. 加载页面时,我会弹出消息:“此页面同时包含安全和非安全项目。 Do you want to display the nonsecure items?' 您要显示不安全的物品吗? No matter what I click I get HTTP 404 response. 无论我单击什么,都会收到HTTP 404响应。

However, when I go uncheck the option 'Show friendly HTTP error messages', the page displays fine. 但是,当我取消选中“显示友好的HTTP错误消息”选项时,该页面将显示正常。 What could be the cause? 可能是什么原因?

I ran my page through the W3C Markup validation service, but none of the issues seem to be responsible. 我通过W3C标记验证服务运行了页面,但是似乎没有问题。 I fixed most of the errors, but I have a similar page that displays fine in IE6, so I think there might be a different cause. 我已修复了大多数错误,但我有一个类似的页面在IE6中显示正常,因此我认为可能是不同的原因。

The only issues I'm still getting in the W3C Markup validation service are all related to using attributes not allowed by the elements, such as autocomplete=off. 我仍然在W3C标记验证服务中遇到的唯一问题都与使用元素不允许的属性有关,例如autocomplete = off。

My doctype is 我的文档类型是

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

That's transitional, not strict... Which is why I ignored it. 那是过渡性的,不是严格的。这就是为什么我忽略了它。 Or do I not understand 'transitional' correctly? 还是我不正确地理解“过渡”?

Ok it turns out the problem was with the CSS referencing images which don't exist. 好的,结果是CSS引用了不存在的图像。 I discovered this by loading the deployed page in Fiddler. 我是通过在Fiddler中加载已部署的页面发现的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM