lundi 29 juin 2015

Force divs on same line with expanded text

I need this this behavior :

[Short title text.txt []]
[Little longer title text.txt []]
[Longer title text with text text text ...[]]
[Longer title text with text tex ...[icon 1]]
[Longer title text with  ...[icon 1, icon 2]]
[Short title text.txt [icon 1, icon 2]]

  • Dynamic length of title
  • Dynamic number of end icons
  • Everytime when text overflow add '...'

Purpose is, that there is title of file, when title is too long, add '...' on end, on end of title can be icon indicators (multiple, currently 0-2) which must be on end of text, not on end of line.

I think that is maybe similar like this, but any of solution was not applicable for this : How to force inline divs to stay on same line?

Thank you very much.

Aucun commentaire:

Enregistrer un commentaire