Consider this html / css snippet:
.l { text-align: left; } .r { text-align: right; } p { width: 150px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border: solid 1px green; }
<p class="l">111222333444555666777888999</p> <p class="r">111222333444555666777888999</p>
It displays two containers with a fixed width with some text too long to move, to show an ellipsis, to show that some text is hidden. The first container is left justified, the second is correct.
The result shows that the ellipsis is on the right for both examples.
However, for the second right justified, I would like to achieve this:
...4555666777888999
instead
1112223334445556...
Is it possible?
BG100 source share