相关疑难解决方法(0)

跨浏览器多行文本溢出,省略了宽度和高度附加的省略号`<div>`

我为这个问题制作了一个图像,以便更容易理解.

是否可以在<div>具有固定宽度和多行的a 上创建省略号?

文本溢出

我已经在这里和那里尝试了一些jQuery插件,但找不到我正在寻找的那个.有什么建议?想法?

html javascript css jquery

168
推荐指数
7
解决办法
8万
查看次数

如何在隐藏溢出的范围内显示点("...")?

我的CSS:

#content_right_head span
{
  display:inline-block;
  width:180px;
  overflow:hidden !important;
}
Run Code Online (Sandbox Code Playgroud)

现在它正在显示内容内容

但我希望展示 内容内容......

我需要在内容后显示点.内容来自数据库动态.

html css

150
推荐指数
6
解决办法
21万
查看次数

如何砍掉添加三个点"......"的文字?

我需要剪切一个文本,在末尾添加树点"......"三个点应该出现在文本的第二行.这个jsfiddler显示了一行的示例,但在添加点之前我无法显示两行文本.知道怎么解决吗?

http://jsfiddle.net/hT3YA/263/

#test { 
    background:#eee; 
    border:1px dotted #ccc; 
    margin:1em; 
    padding:5px; 
    width:100px;
    height:200px;
}
.crop { 
    overflow:hidden; 
    white-space:nowrap;
    text-overflow:ellipsis; 
    width:200px; }



<div id="test" class="crop">
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the …
Run Code Online (Sandbox Code Playgroud)

html css html5 css3

6
推荐指数
1
解决办法
4807
查看次数

标签 统计

css ×3

html ×3

css3 ×1

html5 ×1

javascript ×1

jquery ×1