超出的字符用..........代替

来源:互联网 发布:数据治理定义 编辑:程序博客网 时间:2024/05/02 01:40
超出的字符用..........代替
<style type="text/css">
div.remark
{
white-space:nowrap; 
width:6em; 
overflow:hidden;
text-overflow:ellipsis;
    }
</style>
<div class="remark">${refundApply.remarks }</div> 

原创粉丝点击