Reputation: 425
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
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
Reputation: 933
IE9 already have support for CSS border-radius
property. You do not need to add PIE.htc for that.
Upvotes: 4