
Using PIE in a conditional stylesheet
I've gotten PIE to work just fine, but I would like to use the CSS "behavior" rule in a conditional stylesheet, to avoid every browser having to download the 27K htc file. That, I have not gotten to work. I've used the conditional IE tags in my document head:
Code:
<!--[if !IE]>
<link rel="stylesheet" type="text/css" href="_assets/style-for-IE.css"/>
<!--<![endif]-->
Then, inside the IE style sheet, I have targeted the #element directly, and added the
Code:
behavior:url(_assets/PIE.htc);
rule. I've tried it relative to the html file (as instructed), and relative to the css file, neither of which work. The PIE.htc file happens to be in the same folder as the css files.
Is there a way to get that to work?
Thanks,
Jamie