Eric Plante wrote:
hi,

I have a div on autoscroll that contains multibox. Here's the code

<div id="motUrlLst" class="motLst">
  <logic:iterate id="mot" name="PandoraForm" property="motTreeMap">
      &nbsp;
<html:multibox property="motSelectLst" style="width: 10px;height: 10px" onclick="autoPostBack('motSelectLst;' + this.value);">
         <bean:write name="mot" property="key"/>
      </html:multibox>
<span class="mot" onclick='remplirChampsMot("<bean:write name="mot" property="key"/>")'>
             <bean:write name="mot" property="value" filter="false"/>
         </span><br/>
      </logic:iterate>
</div>

It works fine when the vertical scroll bar is needed but instead of applying the horizontal, the text change line which is annoying.

Any idea how the problem could be solved?

Thanks

This is nothing to do with Struts, it's just how the HTML render model works. I'm sure there are other solutions, but the two I'd look at to start would be setting nowrap or minwidth on the div in its CSS rules.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to