2
Suppose I had a div, I applied to that div text-overflow
, for her respects the width
of the div and add the reticencias(...), but until then, she only respects the width
, and I wanted this element of css to respect the width
and the height
, that is, he of this line break to reach the limit of the height
, and when you reach the end of the last line, with the limit of height
, he applied the reticence, someone knows how to do?
Css code:
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
width:100%;
height: 35px;
color:#FF8000;
Maybe that question help.
– Renan Gomes
This effect does not work in firefox, will there be some way to do this?
– michel