How to fix CSS ellipsis work in table cell?

Spread the love

Sometimes, we want to fix CSS ellipsis work in table cell.

In this article, we’ll look at how to fix CSS ellipsis work in table cell.

How to fix CSS ellipsis work in table cell?

To fix CSS ellipsis work in table cell, we set the table layout to fixed.

For instance, we write

table {
  table-layout: fixed;
}

to make the table’s layout fixed and make the CSS ellipsis show in its cells.

Conclusion

To fix CSS ellipsis work in table cell, we set the table layout to fixed.

Leave a Reply

Your email address will not be published. Required fields are marked *