编辑您的代码:
查看结果:
如果您把光标移动到下面两个 div 上,就能够看到全部文本。
这个 div 使用 "text-overflow:ellipsis" :
This is some long text that will not fit in the box
这个 div 使用 "text-overflow:clip":
This is some long text that will not fit in the box
查看结果:
系统帮助
|
给我留言
|
收藏本站
Copyright © 2005-2008
www.cnn84.com
All Rights Reserved Ver:2.0
CNN84网是公益性便民网站,是为了给大家的日常生活查询及提供最快捷的出行指南