Struts2: how to align <s:submit /> and <s:reset /> within the same row?
posted 9 years ago
Seems that <s:submit /> and <s:reset /> will render on a separate row each. Looked through the Struts2 examples but couldn't find one that has the buttons aligned within the same row; read through the UI tags documentations but couldn't find much help on it either.
Does anyone know how to do it?
[ December 10, 2007: Message edited by: Chengwei Lee ]
What I did was to do add the "theme" attribute like this:
But I'm still unable to get my form's text/fonts and buttons nicely displayed. For fonts, I'm seeing like TimesNewRoman. Was thinking that applying the theme would get me the same look-and-feel like the Struts 2 showcase example.
Now it's using the "xhtml" theme. I edited the style.css within the Struts core JAR to add in font-family:arial, but the fonts still appears in TimesNewRoman. Is this the right way to change the label font face?