如何对齐Facebook和Tweet按钮? [英] How to align Facebook and Tweet buttons?

查看:136
本文介绍了如何对齐Facebook和Tweet按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们主页上的Facebook和Tweet按钮垂直不对齐,我们很困惑为什么。如果我们使用Firebug并删除Tweet按钮的高度,我们可以顶部对齐两个按钮。但是,高度是动态设置的,并且内联,从Twitter脚本。

The Facebook and Tweet buttons on our home page are vertically misaligned, and we're confused why. We can top align the two buttons if we use Firebug and remove the height for the Tweet button. However, the height is set dynamically, and inlined, from a Twitter script. We can't seem to override the height value.

这里是主页: http:/ /www.panabee.com

我们在CSS中做错了什么?或者是我们需要在T​​weet按钮中设置一个参数来覆盖高度值吗?

Are we doing something wrong in the CSS? Or is there a parameter we need to set in the Tweet button to override the height value?

我们唯一的选择是使用Twitter iFrame for Tweet按钮,

Our only other option is to resort to the Twitter iFrame for the Tweet button, which we prefer not to do.

谢谢!

推荐答案

添加:

height:63px; 添加到FB中的FB iFrame类中:

height:63px; to the class of the FB iFrame in CSS:

这篇关于如何对齐Facebook和Tweet按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆