I have the following html element:
<h2>Download "<div id="title"></div>" for...</h2>
I want to insert a title with jquery inside the <div id="title"></div> and It should look like this way:
Download "The title is soo long long long ..." for ...
with this css/less:
#title{
overflow: hidden;
text-overflow:ellipsis;
}
But It looks this way:
Download "
The title is soo long long long ...
" for ...
I should see one line of text with splitted title, but instead I see three lines of text. How can I force to place the whole text to one line? Thanks!
divyou used ie aspan... You wouldn't even need special CSS handling for that aspect at all..