Web サイトで CSS PIE を使用しようとしていますが、何らかの理由で機能しません。
私のフォルダ構造は次のようになります。
そして、私のCSSは次のようになります:
.region-sidebar-first-inner .block-menu-block-1 {
background: #730868;
margin-bottom: 70px;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#730868), to(#0a9f9d));
background: -webkit-linear-gradient(top, #730868 0%, #0e70a2 76%,#0a9f9d 100%);
background: -moz-linear-gradient(top, #730868 0%, #0e70a2 76%,#0a9f9d 100%);
background: -ms-linear-gradient(top, #730868 0%, #0e70a2 76%,#0a9f9d 100%);
background: -o-linear-gradient(top, #730868 0%, #0e70a2 76%,#0a9f9d 100%);
background: linear-gradient(top, #730868 0%, #0e70a2 76%,#0a9f9d 100%);
-pie-background: linear-gradient(top, #730868 0%, #0e70a2 76%,#0a9f9d 100%);
behavior: url(pie/PIE.htc);
}
Chrome で -fileを確認するPIE.htc
と、パスは正しいファイルにリンクしているため、有効なパスです。
そして、CSS Pie は について警告しますがNote: this path is relative to the HTML file being viewed, not the CSS file it is called from
、それも私にとってはうまくいきません...何か他のことが間違っているに違いありません。