【问题标题】:.fadeIn() Black Outline IE6, 7, 8.fadeIn() 黑色轮廓 IE6、7、8
【发布时间】:2011-06-07 06:49:56
【问题描述】:

所以我有一个带有一些文本的 DIV,并且出于某种原因使用了一个淡入淡出调用 IE 在文本周围呈现黑色轮廓

这是一个屏幕截图和一个指向小提琴的链接作为示例;

http://jsfiddle.net/JNaEV/!

Black IE Border Image Example

【问题讨论】:

  • @Xavier:这与 IE 如何在动画期间关闭字体平滑有关...See this thread
  • @Xavier - 至少在 FF 3.6.17 中也存在类似问题,请参阅 here。你可以看到青色而不是黑色。
  • @Sparky672 所以只是为了确认你有:<div id="one"> <-- fade this div <div id="text">Lorem Ipsum Dolor Sit Amet</div> </div>
  • @Daemon_X 更多问题哈哈!必须与过滤有关:/
  • @Xavier:是的,在我的项目中为我解决了这个问题。

标签: jquery internet-explorer


【解决方案1】:

IE 在执行不透明动画时禁用字体抗锯齿...

Font-family renders poorly in Explorer with jQuery animation

我通过将所有内容放在容器 DIV 中并将 jQuery 淡入淡出和动画应用到容器而不是文本元素本身来修复我的问题。

【讨论】:

  • 我试过这个:<div id="text"> <div class="data"> It's time to put talent at <br />the heart of your business. </div> </div> 但它没有效果
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-11-29
  • 2015-04-18
  • 1970-01-01
  • 1970-01-01
  • 2018-03-18
相关资源
最近更新 更多