Try put them in same row of a table:

<table>
    <tr>
        <td><s:textfield /></td>
        <td><s:submit /></td>
    </tr>
</table>


2010/11/1 cellterry <cellte...@gmail.com>:
>
> Dear all,
>
> I have a question about s:textfield or s:select with a command button just
> following it.
>
> For example, I have tried this:
>
> <s:textfield name="name" key="emp" />
> <s:submit name="selectEmp" value="..." />
>
> I found that the button "..." is not following the selection box but is on
> the next line.
>
> Do anyone know how to correct the position so that it is just beside the
> select box?
>
> I think it should be very common.
>
> Terry.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to