【问题标题】:Google Ad Only Sometimes Flush Left谷歌广告有时会向左对齐
【发布时间】:2015-07-29 11:44:09
【问题描述】:

出于某种原因,谷歌决定在这个位置放置不同长度的广告。有时它更短,有时更长。结果,由于某种原因,较短的广告不会向左对齐。

包含的 div 没有什么特别之处,它是一个自适应广告:

                <div class="margin-bottom-10">
                    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

                    <ins class="adsbygoogle"
                         style="display:block"
                         data-ad-client="xxxxxx"
                         data-ad-slot="xxxxx"
                         data-ad-format="auto"></ins>
                    <script>
                    (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>

【问题讨论】:

    标签: css twitter-bootstrap responsive-design adsense


    【解决方案1】:

    只需添加此 CSS 并查看

    .margin-bottom-10{text-align:left}
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-10-03
      • 1970-01-01
      • 2011-10-16
      • 1970-01-01
      • 1970-01-01
      • 2018-07-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多