简体   繁体   English

黑色边框jQuery循环IE7-8透明PNG

[英]Black border jquery cycle IE7-8 transparent PNG

I am experiencing what seems to be a fairly common situation with IE7-8 not allowing more than one filter at a time. 我遇到了IE7-8似乎很常见的情况,一次不允许多个过滤器。 In this case its adding a black border where the transparency is on the png. 在这种情况下,其添加了一个黑色边框,其中透明度位于png上。 I have tried all of the suggested fixes including adding the fade transition to parent divs and also the cycle options cleartype: true and cleartypeNoBg: true. 我尝试了所有建议的修复程序,包括将渐变过渡添加到父div以及循环选项cleartype:true和cleartypeNoBg:true。 I know this is a recurring issue but I can't seem to find an answer that works despite looking. 我知道这是一个经常发生的问题,但是尽管看上去我仍然找不到有效的答案。

Please find a working copy here: 请在这里找到工作副本:

http://www.annulus-art.co.uk/index.html http://www.annulus-art.co.uk/index.html

Many thanks. 非常感谢。

After much searching this seemed to help a bit, still have a black line at the bottom though. 经过大量搜索后,这似乎有所帮助,但底部仍然有一条黑线。

background: transparent !important;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */
    zoom: 1;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM