Chintan_chiku
Chintan_chiku

Reputation: 425

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

Upvotes: 0

Views: 76

Answers (2)

Dharam Mali
Dharam Mali

Reputation: 959

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

Try to apply this:

div {position:relative;}

It will work.

Upvotes: 1

Kushal Jayswal
Kushal Jayswal

Reputation: 933

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

Upvotes: 4

Related Questions