?
Solved

border radius in ie

Posted on 2010-09-12
7
Medium Priority
?
550 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:sio2y
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 21

Accepted Solution

by:
chapmanjw earned 2000 total points
ID: 33658950
IE 8 does not support the HTC methods as previous versions did and does not yet support the rounded-corner calls in CSS.  The best alternative is to use JQuery, such as this plugin: http://www.malsup.com/jquery/corner/
0
 
LVL 58

Expert Comment

by:amit_g
ID: 33658955
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;
}

0
 

Author Comment

by:sio2y
ID: 33659145
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.

0
Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

 
LVL 21

Expert Comment

by:chapmanjw
ID: 33659160
For using JQuery, simply goto www.jquery.com and there are some quick tutorials there on how it works.
0
 
LVL 4

Expert Comment

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

hope this help

- Ashok
0
 

Author Comment

by:sio2y
ID: 33663905
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.

0
 

Author Closing Comment

by:sio2y
ID: 33726384
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......
0

Featured Post

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question