M
M
monochromer2015-08-05 13:17:28
HTML
monochromer, 2015-08-05 13:17:28

How to correctly make a list with text-overflow: ellipsis?

Hello!
There is such a list:
https://jsfiddle.net/kmrdeymm/
It is necessary that the elements:

  • have been left aligned
  • if there are enough of them, then they should all fit, but the text can be cut off with ellipsis (text-overflow: ellipsis)

Made using
display: table;
width: 100%; 
table-layout: fixed;

but so they are spread across the width.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andreaszak, 2019-01-14
@sovlarus

Data-target="exampleModal" and window id="myModal"
Look for errors in the console when something doesn't work in the front

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question