Why does IE9 require a meta tag to render rounded corners?

六眼飞鱼酱① 提交于 2019-12-22 10:29:54

问题


In IE9, which was just released, you need to provide the meta tag <meta http-equiv="X-UA-Compatible" content="IE=9" /> to allow the css border-radius to render.

Why?


回答1:


This link: http://blogs.msdn.com/b/ie/archive/2010/06/16/ie-s-compatibility-features-for-site-developers.aspx indicates that the meta tag is not the only way to enable border-radius. Instead, you can change your doctype.

Read the whole article to determine whether you want to use the doctype or the meta tag, though.



来源:https://stackoverflow.com/questions/5317464/why-does-ie9-require-a-meta-tag-to-render-rounded-corners

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!