How to put ellipsis on text in cells?
How to put ellipsis on text in cells?
Hey,
What I need is an ellipsis after 15 characters, or so. But on the onmousehover() event I need a tooltip with the original value of the cell. How I can accomplish this?
I need help with only the first part i.e. ellipsis.
I know thi squestion has been asked multiple times, but I couln't find the correct answer.
Thanks,
Yash
This discussion has been closed.
Answers
this is what I've tried
.table th, .table td {max-width: 200px;min-width: 70px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}This blog post has details of how it can be done.
Allan