Solved

border radius in ie

Posted on 2010-09-12
7
543 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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

724 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