Originally Posted by spacepoet
I do not think that will work, since the .truncate class is always on the element. My error for forgetting to add it to the element - sorry!
I was trying to figure out how to get it to do something like:
<div class="one truncate">No overflow</div>
<div class="two truncate">Very loooooog text so this will at some point need the truncate to cut it off and add the ellipsis</div>
Any thoughts on this?
<div class="two truncate" title="Very loooooog text so this will at some point need the truncate to cut it off and add the ellipsis">Very loooooog text so th...</div>
Sorry about my error in the first post.