Gonesh2011
New Member
I have this element that contains a string which exceeds the space available. Text should be displayed on two lines only. I need \[code\]text-overflow: ellipsis\[/code\] to be triggered but it's not happening here. What am I doing wrong?\[code\]<div><span>IpsumLorem Traborditum orb Porfalohyrm</span></div>\[/code\]\[code\]div{ text-overflow: ellipsis; overflow: hidden; float: left; line-height: 20px; padding: 8px 6px 6px; height: 44px; width: 133px;}\[/code\]JSFiddle