CSS3 PIE Forums

Could not rewrite path for IE9
Page 1 of 1

Author:  Ian Y. [ Mon Mar 18, 2013 2:31 am ]
Post subject:  Could not rewrite path for IE9

When using selectivizr to enable CSS3 selectors for IE8, we need to adjust the path of PIE.htc to ensure it works after selectivizr processing CSS codes. For example, we need to change behavior: url(js/PIE.htc) into behavior: url(../js/PIE.htc).

However, that causes IE9 to fail loading PIE.htc. And even if we declare behavior: url(../js/PIE.htc) only for IE8, IE9 somehow still be affected and so the script does not work on it.

And we could not rewrite the path for IE9. That does not work.

Please see the attached file for demonstration.

gradient-test.zip [29.39 KiB]
Downloaded 719 times

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group