简体   繁体   English

IE9渲染CSS3

[英]IE9 rendering css3

Hi recently I have started to develop a website which uses a few basic css3 features which I am sure that are supported in IE9 because I've checked. 嗨,最近我已经开始开发一个网站,该网站使用了一些基本的css3功能,由于已经检查过,因此我确信IE9支持这些功能。 No matter what I did IE9 seemed not to render any of the css3 properties not even when I was using ms prefix. 不管我做什么,即使当我使用ms前缀时,IE9似乎也不呈现任何css3属性。

After I did some reasearch I found a question here on stackoverflow that dealt with a similar problem to mine and someone offered a solution to that problem.The person said to add this line in the head tag: 经过一些研究后,我在这里发现了一个关于stackoverflow的问题,该问题与我的问题类似,有人提供了该问题的解决方案。

<meta http-equiv="X-UA-Compatible" content="IE=9" />

After I added this everything seemed to work. 添加完之后,一切似乎都正常了。 What I would is an explanation as to why do I have to use this to make css3 features work in IE9 and what is it's meaning? 我要解释一下为什么我必须使用它来使css3功能在IE9中起作用,这是什么意思?

I am still prety new to web development and I tried to learn html/css/javasript/php/mysql in about 6 months. 我仍然是Web开发的新手,我尝试在大约6个月内学习html / css / javasript / php / mysql。 While I am now capable of creating functional websites alot of gaps seem to be left in my head so I hope this is not a very basic question. 虽然我现在能够创建功能正常的网站,但似乎还存在很多空白,因此我希望这不是一个非常基本的问题。

This is the document compatibility. 这是文档兼容性。

It's all explained in this article - http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx 本文已对所有内容进行了说明-http: //msdn.microsoft.com/zh-cn/library/cc288325%28v=vs.85%29.aspx

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

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