I am trying to add an ellipsis at the end of my text if it is too long.
The css i am currently using is:
style='text-overflow: ellipsis; white-space: nowrap; overflow: hidden;'
My current text should flow over a few lines, to fill the div and then have the ellipsis, however, this css is cutting the text off at the end of the first line. how do i make the ellipsis appear only when the div is filled with text?
example:
This is what i want;
"This is an example bit of text
that should go over multiple lines..."
This is what i am getting;
"This is an example bit of text...
Thanks.