如何在IE 7中解决Css RoundCornerbutton问题? [英] How to solve Css RoundCornerbutton issues in IE 7?

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

问题描述





我在应用程序中使用了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 指针;
}





有谁知道请告诉我。



谢谢

解决方案

在IE9中添加了对 border-radius 的支持:

http://caniuse.com/#search=border-radius [ ^ ]



您的 border-radius.htc 行为不是工作,或IE安全设置阻止它运行。


Hi,

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.

Thanks

解决方案

Support 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.


这篇关于如何在IE 7中解决Css RoundCornerbutton问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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