Solved

border radius in ie

Posted on 2010-09-12
7
528 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses how to create an extensible mechanism for linked drop downs.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now