| Author |
Struts 2 - Align input buttons
|
Charles Z Martin
Greenhorn
Joined: Jun 26, 2008
Posts: 9
|
|
Hello, I am encountering a problem I am pretty sure a few people have dealt with before. I am trying to align submit buttons in a form. I somewhat understand that they do not align due to the default theme, but don't really know how to create my own theme or fix this problem. Any help on how to fix this problem would be helpful.
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
If you specify theme="simple" either at the submit button level or at the form level, this tells Struts not to put any <td> tags around the input field. That leaves you free to format it however you want.
|
Merrill
Consultant, Sima Solutions
|
 |
Charles Z Martin
Greenhorn
Joined: Jun 26, 2008
Posts: 9
|
|
I was afraid of using the simple theme as I thought I would lose some functionality. Shows what I know, it worked perfectly. Thanks!
|
 |
 |
|
|
subject: Struts 2 - Align input buttons
|
|
|