IE9 border-radius [英] IE9 border-radius

查看:128
本文介绍了IE9 border-radius的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

弯曲css角由于某些原因似乎不工作在IE9。我知道它支持它,但我已经看了所有的网络的解决方案,没有找到一个为我工作。我尝试了< meta http-equiv =X-UA-Compatiblecontent =IE = 9/> 但是did'nt工作。我使用.htc文件和行为:url(border-radius.htc); 但是,只有当切换到兼容模式时,有时工作。我甚至尝试声明所有4个值,并没有做出差异。工作beautifuly在firefox,chrome和safari,但不是在IE。任何帮助?查看:我的网页如果您有一些调试工具可能会帮助我。

curved css corners for some reason dont seem to work in IE9. I know it supports it however i have looked all over the web for a solution and cant find one that works for me. I tried putting <meta http-equiv="X-UA-Compatible" content="IE=9" /> but that did'nt work. I used the .htc file and behavior: url(border-radius.htc); however that only works sometimes when switching to compatibility mode. I even tried declairing all 4 values, and didnt make a diffrence. Work beautifuly in firefox, chrome, and safari but not in IE. Any help? Check it out: my web page If you have some debugging tool might help you help me.

推荐答案

看起来页面正在触发怪癖模式,尝试将这些脚本& css包含在标签内部...在doctype和它的html标签之间不应该有任何内容。

Looks like the page is firing Quirks Mode, try moving those script & css includes down inside the tag... nothing should ever come between a doctype and it's html tag.

这里详细解释调查文档模式问题

这篇关于IE9 border-radius的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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