CSS3 Pie不工作在所有,尝试一切 [英] CSS3 Pie not working at All, tried everything

查看:150
本文介绍了CSS3 Pie不工作在所有,尝试一切的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要尝试 css3pie

到我的网站,
和它dosen't似乎应用于所有。
我尝试过任何我可以找到:

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


  • 检查PIE.htc的路径,将其放在主文件夹中,并使用url (/PIE.htc),甚至尝试完整的网址,无效。

  • 尝试使用PIE.php,也没有工作。

  • 尝试添加AddType text / x-component .htc到.htaccess文件,没有好

  • 尝试添加 position:
    z-index:0;
    ,没有好处。

  • 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.

to apply is:

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);

我失踪了什么?

strong> EDIT:
如果这很重要,当我查看加载的CSS在IE,我看到行为命令是在同一行像下一个,虽然语法是正确的

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

推荐答案

使用Web开发工具(F12)查看是否有< css3-container> 正在创建元素。如果没有那么你的行为 css声明有问题。如果这些元素存在,那么不要改变任何东西与您的PIE.htc - 它的样式问题,你可以乱麻烦 position:relative; z-index:0;

Use the Web Developer tools (F12) to see if there are any <css3-container> elements being created. If there aren't then there is a problem with your behaviour css declaration. If those elements exist, then don't change anything with your PIE.htc -- its a styling issue and you can mess around with things like position:relative; z-index: 0;.

这篇关于CSS3 Pie不工作在所有,尝试一切的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆