Google+按钮损坏了工具提示

Google+ button broke tooltip

本文关键字:工具提示 坏了 损坏 按钮 Google+      更新时间:2023-09-26

我已经创建了我的投资组合,并在那里放了一个Google+按钮。该页面仍然没有样式,损坏的工具提示正在减慢我的速度。问题出在哪里?

样式表中存在冲突的样式.css导致问题。

如果我摆脱了样式表,ti 就可以正常工作。

我不确定你去哪里了那段代码,但你想用这个替换它:http://www.google.com/webmasters/+1/button/

<!-- Place this tag where you want the +1 button to render -->
<g:plusone annotation="inline"></g:plusone>
<!-- Place this render call where appropriate -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

而不是:

<div class="g-plusone">
        </div>

尝试:

<g:plusone annotation="inline"></g:plusone>