Hi, I have a requirement where in i have to display the text for two lines & add ... if its overflowing My div Width is fixed.(Even height can be considered as fixed).
Actual text looks like this:
1
Lorem Ipsum is simply
dummy text of the printing
and typesetting industry.
2
Lorem Ipsum is simply text
of the printing and types
industry.
Expected:
1
Lorem Ipsum is simply
dummy text of the print...
2
Lorem Ipsum is simply text
of the printing and typ...
I do not want to overload with plugins(three dots jquery plugin does that).
I'm planning to do just by cutting(split) the string as div width is fixed.
Thanks in Advance.