Click here to Skip to main content
15,894,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I Used RoundCornerbutton in application. It is working for FF,Safari,Opera. IE7/8 is not working. Please find my code below,

CSS
.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
Posted

1 solution

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.
 
Share this answer
 
Comments
24983 26-Sep-14 8:01am    
Thanks .How can i change it?
Richard Deeming 26-Sep-14 8:14am    
If it's the IE security settings: Tools -> Internet Options -> Security -> Custom -> Binary and script behaviors -> Allow.

On the server, check that the content type for .htc files is set to text/x-component.

If it still doesn't work, then you'll need to debug the element behaviour file to find the problem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900