CSS3PIE: Internet Explorer 6 doesn't download PIE.htc
Posted
by
Jonas
on Stack Overflow
See other posts from Stack Overflow
or by Jonas
Published on 2011-01-08T13:49:56Z
Indexed on
2011/01/08
13:53 UTC
Read the original article
Hit count: 387
internet-explorer-6
|css3pie
I'm using the very impressive CSS3PIE (http://css3pie.com) library to add support for CSS3 styles in IE6-8. It works fine in versions 7 and 8 and took a lot of pain out of the process.
However, in IE6 no CSS3 styles are shown at all. In fact, looking at the server logs, I can see that IE6 doesn't even download the PIE.htc file, which is necessary for the magic to work. The content type for the file is set correctly as text/x-component, it's referenced by absolute URL, and works fine in IE7 and 8.
I'm using Compass (www.compass-style.org) and the PIE helper which makes the CSS look like this:
#shopping_cart {
behavior: url("/media/static/css/PIE.htc");
position: relative;
border-radius: 10px;
}
I can't figure out what the problem is. Does anyone have any ideas what might cause IE6 to skip the behavior definition altogether?
Cheers,
Jonas
© Stack Overflow or respective owner