td.right{width:32%; word-break:all;}
明细页面 文字过长强制换行的 css
列表页面, 文字过长部分隐藏设置方式:
<div style="width: 110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;">
${fn:trim(list.cdtrnm)}
</div>
本文介绍了一种利用CSS样式来处理列表页面中过长文本的方法。通过设置宽度限制、文本溢出隐藏及省略号显示等属性,可以有效地解决文字过长导致的布局问题。
td.right{width:32%; word-break:all;}
明细页面 文字过长强制换行的 css
列表页面, 文字过长部分隐藏设置方式:
<div style="width: 110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;">
${fn:trim(list.cdtrnm)}
</div>
8549
2980

被折叠的 条评论
为什么被折叠?