0
我試圖讓社交媒體(谷歌+,臉譜,微博)在一行,但每個社交媒體有不同的路線。 see this如何在一行中製作社交媒體?
此代碼:
<div style="display:inline-block">
<div style="float:left">
<div class="g-plusone" data-size="small" data-href=""></div>
</div>
<div style="float:left">
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&width=The+pixel+width+of+the+plugin&height=21&colorscheme=light&layout=button_count&action=like&show_faces=false&send=false&appId=196962990473575" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:The pixel width of the pluginpx; height:21px;" allowTransparency="true"></iframe>
</div>
<div style="float:left">
<a href="https://twitter.com/twitter" class="twitter-follow-button" data-show-count="false">Follow @twitter</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
</div>
任何人都可以幫忙嗎? – john