如何在IE 7中解决Css RoundCornerbutton问题? [英] How to solve Css RoundCornerbutton issues in IE 7?
问题描述
我在应用程序中使用了RoundCornerbutton。它适用于FF,Safari,Opera。 IE7 / 8无效。请在下面找到我的代码,
。 roundCornerbutton
{
border-radius : 8px;
- moz-border-radius : 8px;
- webkit-border-radius : 8px;
width : auto;
背景 : #e57b31;
padding : 3px;
行为 : url(border-radius.htc);
border : none;
margin : 0px;
padding : 6px;
color : #fff;
font-weight : bold;
cursor : 指针;
}
有谁知道请告诉我。
谢谢
Hi, 这篇关于如何在IE 7中解决Css RoundCornerbutton问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! border-radius
的支持:
http://caniuse.com/#search=border-radius [ ^ ]
您的 border-radius.htc
行为不是工作,或IE安全设置阻止它运行。
I Used RoundCornerbutton in application. It is working for FF,Safari,Opera. IE7/8 is not working. Please find my code below,
.roundCornerbutton
{
border-radius:8px;
-moz-border-radius:8px;
-webkit-border-radius:8px;
width: auto;
background: #e57b31;
padding:3px;
behavior: url(border-radius.htc);
border:none;
margin:0px;
padding:6px;
color:#fff;
font-weight:bold;
cursor:pointer;
}
Can anyone knows Please let me know.
ThanksSupport for
border-radius
was added in IE9:
http://caniuse.com/#search=border-radius[^]
Either your border-radius.htc
behaviour is not working, or your IE security settings are preventing it from running.