Click here to Skip to main content
16,011,949 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

I am trying to render border-radius on IE8 using PIE.htc. I have the following class under style.css

C#
.roundedButton{
    background: url("sprite-v-v1.gif") repeat-x scroll 0 0 #03963F;
    border: 1px solid #456D8B !important;
    border-radius: 7px 7px 7px 7px;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
    height: 30px;
    padding:0 25px;
    behavior:url("images/PIE.htc");
}


The below is the my project's directory structure

MyProject(Folder)
---- images(Folder)
------ PIE.htc(file)
---- MyThemes(Folder)
------ Styles(Folder)
-------- style.css(file)

So from style.css am referring the PIE.htc as "../images/PIE.htc" but I cannot see the background in this case or expected border-radius.
When I refer this as "images/PIC.htc" I can see the background but still not border-radius.


Could you please provide me your valuable inputs in resolving this issue.

Thanks in Advance
Yashwanth.
Posted
Comments

1 solution

Hi

check this link http://davidwalsh.name/demo/css-rounded-corners.php[^] and instead of background color use your image still if you have same issue then let me know will provide another way.
 
Share this answer
 

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