网站顶部部分在 IE7 中消失
我正在一个网站上工作,标题元素仅在 IE7 中完全消失(它在 IE6 和 IE8 中显示)。它显示一秒钟,然后一旦整个页面加载,它就会消失。我不知道是什么原因造成的。消失的部分是我通过 PHP 包含的部分,但当我实际将其插入文件时它仍然没有显示,所以我认为这不是问题。任何帮助将不胜感激。我可以发布任何有用的代码,但其中大部分应该能够通过查看源代码或检查元素找到。
顺便说一句,我的不透明度在任何版本的 IE 中都不起作用。我将它们放在单独的 IE CSS 文档中并使用过滤器,所以我不确定为什么它不起作用。
I am working on a site and the header element is completely disappearing in only IE7 (it shows in IE6 and IE8). It shows for a second, then once the whole page is loaded, it disappears. I have no idea what could be causing this. The portion disappearing is the section I have included via PHP, but it still doesn't show when I actually insert it into the file, so I don't think that is the problem. Any help would be appreciated. I can post any code that would be helpful, but most of it should be able to be found through the view source or inspecting an element.
On a side note, my opacities aren't working in any version of IE either. I have them in a separate IE CSS document and am using the filters, so I am not sure why it is not working.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想通了。显然 IE7 不喜欢负 z-index 值,因此将我的背景图像放置在 HTML 中位于其上方的页面上的某些元素上。奇怪,但我想这就是适合你的 IE。
I figured it out. Apparently IE7 doesn't like negative z-index values and so was placing my background image over certain elements on the page that were above it in the HTML. Strange, but that's IE for you I guess.