CSS:DIV中的文本正在截断 [英] CSS: Text in DIV is Getting Cut Off

查看:214
本文介绍了CSS:DIV中的文本正在截断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在整合一个jQuery插件,隐藏页面的一部分,直到用户点击喜欢按钮。

I'm working on integrating a jQuery plugin that hides parts of a page until the user clicks a "Like Button".

部分Facebook小部件的文本是切断。

Part of the Facebook widget's text is getting cut off. I've played around with the CSS, but can't get it to display fully.

如果容器的宽度设置正确,还有什么可能导致文本得到截止?

If the width of a container is set correctly, what else could cause text to get cut-off?

示例: http:// go.mouseflow.com/like/

请注意,当它应该说313人喜欢这个页面时,它是如何说313 peo。

Notice how it says "313 peo" when it should say "313 people like this page." I checked the source and the text is there, it's just not visible.

推荐答案

原因在这里:

.ui-locker-facebook .fb-like span {
    height: 24px !important;
    overflow: hidden;   /*change to 'visible'*/
}

这篇关于CSS:DIV中的文本正在截断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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