I\'m currently developping a website and encountered a problem with CSS.
I have a parent div containing 2 or more children: one containing the name of a
div
If you add the following styles you should achieve what you want:
.user-match-container { position: relative; padding-top: 22px; } .match-owner { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: absolute; top: 4px; left: 0; right: 0; }
Example