I have some file path, to which I am trying to show ellipsis on left side using the below code.
ellipsis on the right side with overflow: hidden
and text-overflow: ellipsis
:
.ellipsis {
display: inline-block;
width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border: 1px solid black;
}
http://plnkr.co/edit/LYx2LPumbMZkIDp7no2m?p=preview
Related issues:
see also:
is used for that intent but is not supported on all browsers.
C:\Program Files\Java\jre7\bin\new_plugin\npdeployjava1.dll////
http://plnkr.co/edit/zLPRCQ2ggTAclf7XaQsM?p=preview
direction: rtl
?They are showing... remove overflow: hidden
to convince yourself; but they are showing somewhere unexpected depending on browser implementation. One solution; which isn't working across all browsers; is to use the tag.