Long word wrap in nested tables

后端 未结 3 597
予麋鹿
予麋鹿 2021-01-28 07:02

I\'m trying to wrap a long word. I have seen this post : How to prevent long words from breaking my div?

It works great in a simple case like this :

.wra         


        
3条回答
  •  死守一世寂寞
    2021-01-28 07:54

    There are 2 completely different algorithms for table layout: with or without table-layout: fixed

    Former will adapt width of cells to the author's will
    Latter will adapt width of cells to the content (the relative quantity/width/whatever of content in cells)

提交回复
热议问题