PIE.htc not working with YUI3 in IE8

I'm using PIE for shadows, radius borders and gradients but none of these are working in IE8.

Here is an example of the code I'm using for radius and shadow.


border-right:2px solid #FDFDFD;
border-bottom:2px solid #FDFDFD; 
border-top:1px solid #B8B8B8;
float: left;
width: 49%;
-moz-box-shadow: 1px 1px 2px #000;
-webkit-box-shadow: 1px 1px 2px #000;
box-shadow: 1px 1px 2px #000;
border-radius:0 0 2px 2px;
behavior: url(PIE.htc);


Here is an example of the code I'm using for the gradient.

.yui3-widget-hd {

background: #C9D2DD;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#D8D8DA', endColorstr='#B6CAD5');    
background: -webkit-gradient(linear, left top, left bottom, from(#D8D8DA), to(#B6CAD5));
background: -moz-linear-gradient(0% 100% 90deg, #B6CAD5 35%, #D8D8DA 83%, white 100%) repeat scroll 0 0 transparent;
border: 1px solid #F3FAFE;
border-radius: 0.435em 0.435em 0 0;
behavior: url(PIE.htc);
height: 33px;
margin: 0;
width: 97%;
cursor: default;


Thanks in advance for your assistance.


You should specify the behavior url as absolute path:


Maybe this solves your problem.

I think its your url problem.. try this one

behavior: url(//Yoursite.com/path/to/PIE.htc);

Need Your Help

Ajax not being loaded to the view rails 3 will_paginate

ruby-on-rails ajax ruby-on-rails-3 jquery will-paginate

Im trying to implement an Ajax call with the will_paginate gem, I found this guide http://ramblinglabs.com/blog/2011/11/rails-3-1-will_paginate-and-ajax which seemed like a simple solution, though it

How can I use tomcat jdbc pool with slick?

scala tomcat slick

I want to make my application framework independant, so for starters I want to use: