[code]<div STYLE="overflow:hidden; text-overflow:ellipsis; width:300px">
<nobr>
<bean:write name="merchant" property="airMerchant.merchantDesc" />
</nobr>
</div>[/code]
通过width:300px 来改变显示长度
注意<nobr>不能少 否则多余的文字会换行
<nobr>
<bean:write name="merchant" property="airMerchant.merchantDesc" />
</nobr>
</div>[/code]
通过width:300px 来改变显示长度
注意<nobr>不能少 否则多余的文字会换行