Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7726997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:20:59+00:00 2026-06-01T05:20:59+00:00

I am having problems getting the JQuery Library Rounded Corners to work in IE.

  • 0

I am having problems getting the JQuery Library “Rounded Corners” to work in IE. All I want to do is simulate border-radius on a div in Internet Explorer. I have gotten the addon to work in Firefox, but I think that’s because this addon takes advantage of that CSS property. I have also gotten it to work in IE, but only on basic DIVs.

Here is the addon’s home page: http://jquery.malsup.com/corner/

Here is the code:

CSS

<style>
#mydiv { /*basic CSS for the DIV*/
    border: 1px solid #76B4EA;
    border-bottom: none;
    box-shadow: inset -10px 10px 30px #e0e0e0, 2px -2px 1px #707070;
    background: #fff;
    width: 200px;
    height: 80px;
    margin-top: 21px;
    z-index: 3;
    margin-left:2px; 
    position: absolute
}
#ie-shadow { /*code for a cross-browser shadow*/
    display: none;
}
</style>
<!--[if lte IE 8]>/*more code for the cross-browser shadow*/
<style>
#ie-shadow {
    display: block;
    position: absolute;
    top: 17px;
    left: 2px;
    width: 200px;
    height: 80px;
    z-index: 1;
    background: #000;
    filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='2', MakeShadow='true', ShadowOpacity='0.40');

}
</style>
<![endif]-->

HTML

<div id="mydiv"></div>
<div id="ie-shadow">&nbsp;</div>

Javascript

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://malsup.github.com/jquery.corner.js"></script>
<script type="text/javascript">
$('#mydiv').corner("rounded top 10px keep cc:transparent");
</script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:21:01+00:00Added an answer on June 1, 2026 at 5:21 am

    I’m going to suggest a better option: PIE.htc.

    Download it here: http://css3pie.com/

    USAGE

    Extract the PIE.htc file to your root directory. In your CSS, you can do the following:

    .round-em {
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
      behavior: url('PIE.htc');
    }
    

    NOTE: The location of the PIE.htc is relative to the HTML file, NOT the CSS file. Also, you may ONLY use the shorthand of border-radius. You cannot specify border-top-left-radius, for example, when using the hack for IE.

    You can take it a step further by adding an IE conditional (PIE.htc does not play nice with IE9+):

    .round-em {
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
    }
    

    <!--[if lt IE 9]>
    .round-em {
    behavior: url('PIE.htc');
    }
    <![endif]-->

    EDIT

    Since you cannot load the PIE.htc script across domains, you can use PIE.js. Here is the link: http://css3pie.com/documentation/pie-js/

    There is a hosted version available here: http://cdnjs.cloudflare.com/ajax/libs/css3pie/1.0beta5/PIE.js

    HOW TO USE PIE.JS

    First, call the script via an IE conditional:

    <!--[if lt IE 9]>
    <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/css3pie/1.0beta5/PIE.js"></script>
    <![endif]-->

    Next, use jQuery to iterate through each of the elements that have round-em as a class. Then, use the PIE.attach method and pass in the this context as a parameter.

    $(function() {
      if (window.PIE) {
        $('.rounded').each(function() {
          PIE.attach(this);
        });
      }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problems getting a div to appear using jquery after 5 seconds. right
I am new to jquery mobile, and am having problems getting content I have
I am having problem getting my tooltip to work when using the jQuery load()
I am having problems getting the 'ByAccount' aggregation to work in SQL Server Analysis
I'm having trouble getting tinyMCE to work with the new jQuery 1.4.2 on IE6.
Having some problems getting JSTree to work with IE7 and 8. It works great
I'm having problems getting the SimpleModal jQuery plugin to close when the body is
I have my jquery ajax tabs running great. However I having problems getting/setting the
Having some problems getting my cross server request to work in IE. Is it
I was having trouble getting a jQuery Ajax call's success function to work properly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.