我有一个邮件模板通讯:
http://www.newsletter.vendopor.com/m29-04-13/index2.html
http://www.newsletter.vendopor.com/m29-04-13/index2.html
但最后,有一个包含该文本的段落:
Por favor,envíaestecorreo a las personas que creas le puede ayudar nuestro …
这段文字,出去的段落(我在CSS中有一个宽度380属性,并继续出去).
它在页面的末尾
我在谷歌搜索过,但找不到解决方案
适用于Chrome,但在Mozilla(最新版本)中,文本即将发布.
非常感谢你的帮助
解决方法
你可以使用文本溢出:省略号;
div { width:200px; overflow:hidden; border:1px solid #f00; text-overflow:ellipsis; white-space:nowrap; }
<div>This is very very long text This is very very long text This is very very long text </div>
祝好运…