我的CSS看起来在IE中搞砸了 [英] My css looks messed up in IE

查看:79
本文介绍了我的CSS看起来在IE中搞砸了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要制作某种'方案'。它在谷歌浏览器中工作正常,但我现在听说它只需要IE,IE浏览器。

Need to make some kind of 'scheme'. It was working fine in Google Chrome but I hear now that it needs to work in IE, IE only.

有什么方法可以修复我的CSS / HTML吗?需要重新从头开始?
我是CSS / HTML的新手,过去我一直使用Chrome / Firefox。

Is there some way to fix my CSS/HTML or do I need to make it again from scratch? I'm new at CSS/HTML and I've always used Chrome/Firefox in the past.

在这里你可以看到我已经拥有的东西,直播代码在这里

Here you can see what I have already, live code is here

https://jsfiddle.net / Azcrod / w7jqyb36 /

我的CSS部分代码在这里:

My CSS partial code here:

background: -webkit-radial-gradient(white, #E98300);
/* Safari 5.1 to 6.0 */
background: -o-radial-gradient(white, #E98300);
/* For Opera 11.6 to 12.0 */
background: -moz-radial-gradient(white, #E98300);
/* For Firefox 3.6 to 15 */
background: radial-gradient(white, #E98300);

...这里是它在IE中的外观:

…and here is a printscreen of how it looks in IE:

版本为IE 11,但我将它托管在内联网服务器上,如果这很重要的话。

Version is IE 11 but I'm hosting it on a intranet server, if that matters.

推荐答案

我自己解决了这个问题。也许我用错误的方式解释了它,但我要做的是转到IE的兼容性视图设置并禁用它用于Intranet站点。这有效。

I managed to fix the problem myself. Maybe I explained it the wrong way but what I had to do was go to IE's Compatibility View Settings and disable it for intranet sites. That worked somehow.

这篇关于我的CSS看起来在IE中搞砸了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆