IE 9 border radius not working with PIE.js

I m trying to apply border radius using PIE.js file

Code :

$(function()
{
    if (window.PIE)
    {
        $('div').each(function()
        {
            alert("Welcome");
            PIE.attach(this);
        });
    }
});

above code not working, if block is not executing dont know why any solution

Answers


IE9 already have support for CSS border-radius property. You do not need to add PIE.htc for that.


Some time you will have to apply position:relative to attache PIE.htc.

Try to apply this:

div {position:relative;}

It will work.


Need Your Help

How to use Image Sets to set Viewcontroller background image for different device?

ios xcode uiimageview xcode6.3

I have used background image for view controller in my previous applications.

Hosting Facebook iframes on pages on Cloudfront

html facebook iframe amazon-cloudfront

I've switched my Facebook page to pull an iframe as a result of Facebook's recent announcement that they were supporting iframes in pages. Since you need to host the iframe page outside of Faceboo...