Avatar of sio2y
sio2y
 asked on

border radius in ie

Hi there,

I am attempting to get border-radius to work in ie and it just doesn't seem to want to. I have the htc file and css but nothing.

I have placed the htc file in the images folder and set the url to that location.

It works perfectly in firefox and chrome

Thanks for the help.  
landingpage.html
testglobal.css
CSSHTML

Avatar of undefined
Last Comment
sio2y

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
chapmanjw

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
amit_g

While testing put the htc file in the same folder where the css is. Change the rounded-corners class to

.rounded-corners {
      -moz-border-radius: 20px;
      -webkit-border-radius: 20px;
      -khtml-border-radius: 20px;
      border-radius: 20px;
      behavior:url(border-radius.htc);
      background-color: #FF0;
      height: 100%;
      width: 100%;
      position: absolute;
      border: 5px double #F63;
}

sio2y

ASKER
Thanks to both for responding.

chapmanjw - thanks for the link but I'm not that advanced and don't know how to implement the js plug in, also..... read comments from people saying the htc does work in ie8.

amit_g - did as you suggested and still no rounding.

chapmanjw

For using JQuery, simply goto www.jquery.com and there are some quick tutorials there on how it works.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
acashok

please refer the link : http://dimox.net/cross-browser-border-radius-rounded-corners/

hope this help

- Ashok
sio2y

ASKER
Thanks for the jquery site, i'll take some time to go through it.

@ acashok...I did see that site and tried both ways (same css file and css file with conditional statement) neiher worked.

sio2y

ASKER
While I did not use the jquery method, and in light of no other valid workable solutions it seems ie 8 does not support htc and ie 9 isn't out yet sooo......
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.