将表格中的文字换行 [英] Wrap the text in Table

查看:114
本文介绍了将表格中的文字换行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

我已经为表格设置了宽度,但是当出现连续文本时,相应的列也将占据其他列的宽度.请建议,如果达到上述列宽,则可能会中断该行.

问候,
AP

Dear Friends,

I have given the width to table, but when continue text occurs, the respective column takes the other columns width too. Kindly suggest if there is possible is break the line if it reaches the mentioned column width.

Regards,
AP

推荐答案

您可以包括自动换行属性以换行并在下一行显示内容.您只需要将此属性添加为STYLE ="word-wrap:break-word"即可.
You can include the word wrap property to break the line and display the content on next line. You have to just include this property as STYLE="word-wrap: break-word" .


这篇关于将表格中的文字换行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆