<div class="container">
<div class="summary">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
</p>
<ul>
<li>test</li>
<li>test333</li>
</ul>
<strong>testststststs</strong>
</div>
<div class="ellipsis"><span>... Read more</span></div>
</div>
however my issue is when I try placing the “…read more” using he position relative property it does not work: ex below: http://jsfiddle.net/ctges45w/3/
how can I make sure that the “read more” text always get placed at the end of the line where its truncated regardless of the width of the content?- something like this: http://jsfiddle.net/ctges45w/4/
@mplungjan: these examples talk about multi line but does not fix my multi element issue. I have multiple elements in a div and I need ellipsis on the last element. those dont work for me
Comment posted by user1234
I could have but the text is dynamically generated and not static- I have just shown this static DOM structure for fiddle purpose. This div container is empty in the beginning and on user inputs the div starts populating the text- I dont have control where to put the Read me text
Comment posted by koder613
Are you able to insert the readme within the
Comment posted by user1234
I can append it as another child to the summary div-like: