简体   繁体   English

该网站在IE上显示黑屏,但在Firefox或chrome中可以正常工作

[英]site shows blank screen on IE but works fine in firefox or chrome

we have developed website http://www.2vin.com using yii the site works fine in Firefox and chrome but shows white screen in IE. 我们已经使用yii开发了http://www.2vin.com网站,该网站在Firefox和chrome中可以正常工作,但在IE中显示白屏。 we have fixed some of the html errors but it still shows blank screen in yii site name: http://www.2vin.com technology used: yii in php 我们已经修复了一些html错误,但它仍在yii网站名称中显示空白屏幕: http ://www.2vin.com使用的技术:php中的yii

The problem is caused by the <! [endif]--> 问题是由<! [endif]-->引起的 <! [endif]--> in the head . <! [endif]-->head Remove the space, changing it to <![endif]--> . 删除空格,将其更改为<![endif]-->

If you open up Developers tool (F12) and if you see "inline style{display:none;}" 如果您打开开发人员工具(F12),并且看到“内联样式{display:none;}”

add a css style in your css file... 在CSS文件中添加CSS样式...

body{display: block !important;}

I've had this issue with IE 9. 我在IE 9中遇到了这个问题。

The way I resolved this on several machines was by removing the font "Helvetica". 我在几台计算机上解决此问题的方法是删除字体“ Helvetica”。

Hope this helps. 希望这可以帮助。

J Ĵ

暂无
暂无

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

相关问题 此代码可以在ie 10上正常运行,但不能在chrome和firefox上运行(javascript / ajax部分) - this code works fine on ie 10 but not on chrome and firefox (javascript/ajax portion) 我的JavaScript代码在Firefox中运行良好,但在Chrome和IE中却没有 - My JavaScript code works fine in Firefox, but not in chrome and IE RSS不会在IE和chrome上显示,但在Firefox上能正常显示吗? - RSS won't show on IE and chrome but works fine on Firefox? IE MP3流。 在Firefox中可以正常工作,但在IE和Chrome中则不能。 标头问题 - IE MP3 Streaming. Works fine in Firefox but not in IE and Chrome. Header problems 查询适用于Firefox,但不适用于ie和chrome - query works on firefox but not on ie and chrome 表格适用于Chrome和IE,但不适用于Firefox - Form works in Chrome and IE but not firefox 禁用“选择选项”的简单HTML表单可以在Chrome和IE中提交。 在Firefox中工作正常 - Simple HTML form with Select Option disabled, is allowed to submit in Chrome and IE. Works fine in Firefox 为什么此表单/ PHP脚本不能在Firefox上运行,而在IE,Chrome,Edge和Safari上也可以正常运行? - Why is this form/PHP script not working on Firefox while it works fine on IE, Chrome, Edge and Safari? jQuery .html()不显示在IE中,在Firefox中工作正常 - jquery .html() not displaying in ie works fine in firefox 表格提交不能在Firefox中使用,在chrome中可以正常使用 - form submit not working in firefox , works fine in chrome
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM