本文介绍了在表格单元格中包装文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用serlvet,我需要知道如何在不使用CSS的情况下将单元格内容包装到单元格宽度。我需要通过td标签直接实现这一点。
我尝试过的方法:
out.println(< table width = 100%height = 100%table-layout = fixed border = 0>);
out .println(< td style =white-space:nowrap; width = 90>);
解决方案
hi,
i am using serlvet and i need to know how to wrap a cell contents to a cell width without using CSS. i need to achieve this directly through the td tag.
What I have tried:
out.println("<table width=100% height=100% table-layout=fixed border=0>");
out.println("<td style="white-space:nowrap; width=90>");
解决方案
这篇关于在表格单元格中包装文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!