【问题标题】:Twitter Problem in IE 8IE 8 中的 Twitter 问题
【发布时间】:2011-05-17 14:57:35
【问题描述】:

我在 twitter 按钮和 IE 8 上遇到了这个问题(IE 7 出现问题,我不再关心 IE 6)。

简而言之,问题是当我实现推文按钮时,a 中的其余文本没有显示出来。它在 Firefox 和 Safari 中运行良好,只是一个 IE 问题。当前的问题可以在最后一个示例优惠券上看到,优惠券 3。

http://www.ichibancoupons.com/?page=examples

为 Twitter 按钮生成的代码是:

<div class="right-coupon-twitter">
<iframe title="Twitter For Websites: Tweet Button" style="width: 110px; height: 20px;" src="http://platform0.twitter.com/widgets/tweet_button.html?_=1291080504828&amp;count=horizontal&amp;lang=en&amp;text=Sample%20Coupon%203%20Sample%20coupon%203%20provided%20by%20Ichiban%20Coupon%20%20Management.&amp;url=http%3A%2F%2Fwww.ichibancoupons.com" allowtransparency="true" tabindex="0" class="twitter-share-button twitter-count-horizontal" frameborder="0" scrolling="no"></iframe>
        <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
 </div><!-- coupon-twitter -->

有没有人知道导致这个问题的原因和解决方案?

【问题讨论】:

  • 情侣 3 对我来说看起来不错,在 IE8 中(在 IE8 标准和 IE7 标准模式下)。该锚点中的文本是干净的。能不能给个截图?
  • 当然。我这里有截图:ichibancoupons.com/twitter_problem.html

标签: css internet-explorer internet-explorer-8 twitter


【解决方案1】:

这很可能是因为 iframe 不允许 IE8 中的跨域内容,可以在此处找到(有些过时的)解决方案:Display cross domain content in IFrame (IE8)

【讨论】:

    猜你喜欢
    • 2015-06-22
    • 1970-01-01
    • 2011-05-28
    • 1970-01-01
    • 1970-01-01
    • 2011-08-03
    • 2013-05-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多