For my ASP.NET generated hyperlink that says "select location", when the user clicks on it, they are redirected to a new page where they can choose a different location at /change-location/default.aspx. This could be any country, state, or city in the world:
"United States > Tennessee > Nashville"
"Australia > New South Wales > Sydney"
"Saint Vincent and the Grenadines > Other > Port Elizabeth, Bequia"
On mobile portrait mode (320px wide with 10px margin on each side), the entire hyperlink usually displays properly.
However, if the link is particularly long like this example:
"Saint Vincent and the Grenadines > Other > Port Elizabeth, Bequia"
It wraps to the next line, which we want to avoid. Our goal is for the link to stay on one line only.
To achieve this, I am looking for a way to have the text clipped with ellipses from the left if its width exceeds 300px:
"... Grenadines > Other > Port Elizabeth, Bequia"
Is there a CSS solution for this?