如果您看到下面的附件,则三个共享按钮的顶部边距不会相同。 Tweet按钮没有保持一致性,它比另外两个稍微高一点。我怎样才能让他们所有的人离开顶端?如何在同一行上对齐html元素
的代码我的工作:
<h2 class="title">Share this blog</h2>
<div class="fb-share-button" data-href="http://alfa-blog.com/"
data-layout="button_count" data-size="large" data-mobile-iframe="true">
<a class="fb-xfbml-parse-ignore" target="_blank"
href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Falfa-blog.com%2Findex.html&src=sdkpreparse">Share</a>
</div>
<a href="https://twitter.com/share"
data-size="large"
class="twitter-share-button" data-show-count="false">Tweet</a>
<div class="g-plus" data-action="share" data-height="24" data-href="http://alfa-blog.com/"></div>
嗨,谢谢。有用。其实,我以前从来没有拿出过弯方向的物业。我也会检查完整的指南。 –