如何控制zkoss中列表项的流

how to control over flow of list item in zkoss

谁能指导我如何控制列表项的溢出。在代码标签 "Operation Instruction" 中有客户的简要说明,我在恢复 window 时应用了 maxlength="40" 然后 "Operation Instruction" 显示了两行或更多行,我希望它会在仅单行

<east id="eastcr" width="70%" autoscroll="true" visible="false" style="overflow:auto">
<groupbox>
    <caption label="Select Account"></caption>
    <separator></separator>
    <listbox id="lstbx" style="overflow:auto" mold="paging">
        <listhead id="lsthd" sizable="true" >          
        <listheader id="lsthd1" label="Sr No" align="center" width="5%" sort="auto"/>
        <listheader label="Account Number" align="center" width="15%" sort="auto"/>  
        <listheader label="Account Name" align="left" width="25%"  sort="auto" maxlength="20"/> 
        <listheader label="Operation Instruction" align="left" width="39%" sort="auto" maxlength="40"/>  
        </listhead>       
    </listbox>
</groupbox> </east>

你可以使用下面的样式

style="white-space: nowrap;"

查看下方的含义

nowrap Sequences of whitespace will collapse into a single whitespace. Text will never wrap to the next line. The text continues on the same line until a
tag is encountered