I am lost at using PIE for IE ...
div {
background: red;
color: #fff;
border-radius: 10px;
behaviour: url("http://jiewmeng1.kodingen.com/playground/PIE.htc");
}
why doesn't it work?
I am lost at using PIE for IE ...
div {
background: red;
color: #fff;
border-radius: 10px;
behaviour: url("http://jiewmeng1.kodingen.com/playground/PIE.htc");
}
why doesn't it work?
You need to have the HTC on the same site that the page is sitting on. There's some security stuff that keeps IE from loading HTCs from different domains. (This means your stuff probably won't work in jsFiddle.) The domain name has to be identical, and IIRC even the protocol has to match.
You'll also need to configure your server to transfer the HTC with a MIME type of "text/x-component". (This may have already been done for you.)
Just noticed, too...you'll need to change "behaviour" to "behavior". :)