English 中文(简体)
CSS3 没有在所有人工作的人,尝试一切
原标题:CSS3 Pie not working at All, tried everything
  • 时间:2012-01-13 15:35:29
  •  标签:
  • css
  • css3pie

http://www.css3pie.com“rel=“noretinger”

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.

试图适用的法典是:

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

什么是失踪的?

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

最佳回答

利用网络开发工具(F12),看是否有任何<代码><cs3-container>要素。 如果是吨位,则在您的<条码>behaviour上出现问题。 如果存在这些要素,则不会与您的《教育、科学和技术倡议》有任何改变——其附带问题,而且你可以随同诸如<条码>:相对性;z-index:0;等内容。

问题回答

利用网站链接。 例如:

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

它将进行罚款。

CSS3PIE places its generated elements as a sibling of the element you are styling, with a z-index value of -1. You may not see the result because it s behind some other element in the document. Try wrapping the elements you are styling inside a positionned container with an independent z-index. Hope this helps!

这完全取决于你的服务器环境:

假设DIR“皮”与你的“root”DIR相对应,则尝试如下之一:

    behavior: url(/pie/PIE.php);
    behavior: url(pie/PIE.php);

还尝试:

    position:relative; 
    z-index: 0;

Don 与PIE一起使用IE过滤器 ha,例如:

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr= #0074a8 ,endColorstr= #006496 ,GradientType=0);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

CSS 当你试图使用bl时,Pie3并不支持箱子。 这是不可能的。

相反,消除bl,你的盒子影子将发挥作用。

来源:

http://csss3pie.com/documentation/support-cs3-features/"rel=“nofollow”>http://css3pie.com/documentation/support-cs3-features/

Unfortunately PIE only supports rgba opacity in box-shadow if it has no blur.

http://cs3pie.com/documentation/suppor ......ures/#rgba

It s often possible to work around this by simply using a lighter shade of your opaque color. If you want to let other browsers use the rgba, you can use -pie-box-shadow to override it only for PIE.

Try using the hex-value notation for the color instead. In the documentation it says there are limitations to using rgba notation:

box-shadow: 0px 0px 13px #000;
filter: Alpha(Opacity=90);
opacity: 0.9;
behavior: url(/Pie.htc);

我有同样的问题。 PIE根本就没有工作,无论是衣帽子、 j子还是工厂。 问题在于,我下载和毫不犹豫地允许PIE的双手进入麦克服务器。 这对使用者来说是无法接触的。 改读,现在起作用! Rookie大错:

cs3pie没有使用:

 filter: "progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr= # , endColorstr= # )";

我所解决的问题





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

Drop down background url in Safari Issue

selectBox.selectCSS { background: url(/Images/replacementSelectBackground.png) top left no-repeat height:auto; } I have an issue in Safari only where the image is not rendering on top ...

CSS specific for Safari

How do you target specifically safari in css with styles?

Aligning textarea in a form

Ive used the following css code to align my form elements: form { position:relative; } form input { position:absolute; left:11em; } However, the textarea element is not aligned correctly with the ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

CSS problem with page footer

I have defined my page footer in the css file as: #footer { position: absolute; height: 50px; text-align: center; background: #66CCCC; bottom: 0px; left: 0px; width: 100%; height: ...

热门标签