Solved

border radius in ie

Posted on 2010-09-12
7
539 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 500 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Check input text, Number 7 54
Search Box CSS Question 16 45
Make Float not to Wrap 15 65
WordPress Blog (CSS?) to Suppress Automatic Hyphenation 6 32
This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

739 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