HTML change line break trigger?

后端 未结 5 874
面向向阳花
面向向阳花 2021-01-13 06:21

Is there any way in CSS/HTML to change what characters cause linebreaks in text to be allowed? For example if I have table data containing the text \"fooooooo/barrrrrrrrr\"

5条回答
  •  無奈伤痛
    2021-01-13 06:49

    You could use css word-wrap property so your long word gets broken according to its container width:

    word-wrap: break-word;
    

提交回复
热议问题