Hi,

I tried this way. Hope this may help u too.

Css file:

.button {
        margin-top: 0;
        font-size: 10pt;
        text-align: center;
        background-color: white;
}

.buttonbar {
        padding-top: 1em;
        text-align: right;
}

Form: 

<table>
<tr>
                <td class="buttonbar" colspan="2">
                        <s:submit cssClass="button" key="button.reset"
method="reset"/>
                        <s:submit cssClass="button" key="button.save"
method="update"/>
                </td>
        </tr>
</table>

The keys are being resolved from properties file. You can remove them
and give values.


Thanks & Regards,
Indu

-----Original Message-----
From: Session A Mwamufiya [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 02, 2007 1:39 PM
To: user@struts.apache.org
Subject: placing 2 buttons next to each other

Hi,

Is there a way to configure an s:form tag so that the 2 submit buttons
appear side by side instead of one under the other?  I use a css file
with input.actionButtons {float: left;} to move both of them to the
left, but they're not appearing next to each other.

Thanks,
Session


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


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

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

Reply via email to