We need to display the hierarchy of some data to the user. For example,
"Building Name / Floor Number / Section Name / Room Number / Desk Number"
The end of the hierarchy is most important. So that must be displayed, but the front bit, can be truncated. When the data first into the area we display without truncation, all is good.
But if we need to truncate, we need to truncate the front text, and apply a '...'. So, for example, we want to see:
'...tion Name / Room Number / Desk Number'
Is this possible with CSS? At the moment, we're going to try see the char count, but I'm aware that a w and and i use different widths, and assuming a char count > x isn't a good idea at all.
Is this possible with CSS or javascript?