I have following structure in dropdown suggestions for my autocomplete plugin
<div> <svg>//some things here</svg> <span>My long text</span> <span>Some short text</span> </div> The div has following CSS properties -
display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 100% The span has following properties -
float: left; I am unable to understand where it went wrong and have tried almost all SO solutions answered in similar problems till date. A desperate callout!
Update: http://codepen.io/shreeshkatyayan/pen/wzPYvO CSS structure - non-working for obvious reasons.