[英]Why does my website work in some Chrome, Opera, and Safari but not FireFox or IE?
So my website is just being started and currently it works in three of the five main browsers. 所以我的网站刚刚启动,目前它在五个主要浏览器中的三个中运行。 It wont let me post pictures yet so I can't show anyone, but the website is here 它不会让我发布图片,所以我不能向任何人展示,但网站在这里
In the ones it works in everything is exactly how I want it but in the ones it doesn't work in the background is completely white with no images or styles on anything and all the text is set to the left of the screen. 在它所有的一切都是我想要的,但在背景中不起作用的是完全白色,没有任何图像或样式,所有文本都设置在屏幕左侧。 If anyone could help that would be amazing! 如果有人能提供帮助那就太棒了! Thanks 谢谢
you defined wrong type type="tect/css"
你定义了错误的类型type="tect/css"
<link href="css/reset.css" rel="stylesheet" type="tect/css" /> /*wrong type define here*/
to 至
<link href="css/reset.css" rel="stylesheet" type="text/css" />
https://forums.digitalpoint.com/threads/css-background-image-not-showing-in-ie.115660/ Check that post for pointers as to how to properly set backgrounds. https://forums.digitalpoint.com/threads/css-background-image-not-showing-in-ie.115660/请查看该帖子,了解如何正确设置背景。 You want to double check your css and research the most common quirks in IE. 你想仔细检查你的CSS并研究IE中最常见的怪癖。 Also, your question is very unhelpful since it doesn't even mention what versions of browsers you have already tried. 此外,您的问题非常无益,因为它甚至没有提到您已尝试过的浏览器版本。
the think that says Kheema Pandey is correct but there is another think that you have to consider: 认为Kheema Pandey的想法是正确的,但还有另一个认为你必须考虑:
there are some codes in javascript that some browsers reconize and some other they dont. javascript中有一些代码可以让某些浏览器重新协调,而其他一些代码则不会。
so you have to find a compatible code. 所以你必须找到兼容的代码。
i mean in some cases it happens 我的意思是在某些情况下会发生
delete this line. 删除这一行。 You are basically limiting the rendering to only IE latest and chrome 您基本上将渲染限制为仅IE最新和Chrome
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.