gpt4 book ai didi

css - Google +1 按钮的动态 CSS 填充

转载 作者:太空宇宙 更新时间:2023-11-03 19:13:08 24 4
gpt4 key购买 nike

我的网站上有几个 Google +1 按钮,当一个按钮被点击一定次数时,页面上的加号按钮会变宽,因此会移出给定的空间。我怎样才能阻止这种动态发生?

按钮的CSS代码如下:

.news-plusone { 
float: right;
margin: 2px -20px 0 10px;
}

margin 中的第二个参数是需要动态改变的参数。

示例:http://www.nblackburn.me/index.php?section=news

+1 按钮包含在我网站上的这段 HTML 中(此处格式化以删除滚动):

<span class="news-plusone">
<g:plusone size="small" href="http://example.com/"></g:plusone>
</span>

最佳答案

Publishers may not alter or obfuscate the +1 Button, and Publishers may not associate the +1 Button with advertising content, such as putting the +1 Button on or adjacent to an ad, or placing ads in shared content, unless authorized to do so by Google. Publishers also may not place in shared content any text, image, or other content that violates the Google+ project's User Content and Conduct Policy.

+1 button policy

但是,如果您只是更改按钮的位置,那么展示一个示例可能有助于澄清您的问题。

关于css - Google +1 按钮的动态 CSS 填充,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7623931/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com