Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS3 Pie not working at All, tried everything

Tags:

css

css3pie

I'm trying to apply css3pie

to my website, and it dosen't seem to be applied at all. I have tried anything i could find:

  • Checked the path to PIE.htc, put it in main folder and used url(/PIE.htc), even tried full URL, nothing worked.
  • Tried using PIE.php, that didn't work either.
  • Tried adding "AddType text/x-component .htc" to the .htaccess file, no good
  • Tried adding position:relative; z-index: 0;, No good.

The code i'm trying to apply is :

   -webkit-box-shadow: 0px 0px 13px rgba(0,0,0,.9);
 -moz-box-shadow: 0px 0px 13px rgba(0,0,0,.9);
 box-shadow: 0px 0px 13px rgba(0,0,0,.9);

What am i missing?

EDIT: if this matters, when i view the loaded css in IE, i see the behavior command is in same line like the next one, though syntax is correct

like image 862
eric.itzhak Avatar asked Jan 13 '12 15:01

eric.itzhak


1 Answers

Use your website link. Eg:

behavior: url('http://www.yoursite.com/css/PIE.php')

It will work fine.

like image 80
Tanveer Avatar answered Sep 30 '22 13:09

Tanveer