2017-04-03 8:30 GMT+02:00 Patrick Kelly <[email protected]>:
> Hi - I am upgrading from 2.3.32 to 2.5.10.1 and have noticed that the
> "submit" tag behaves differently.
>
> In 2.3.32 <s:submit align="left" value="Save"/> will left align the submit
> button.
>
> In 2.5.10.1 <s:submit align="left" value="Save"/> has the button right
> aligned.
>
> Has the syntax changed?
Yes, the "align" attribute was removed as it's deprecated in html5
[1], instead a CSS class was added - "formButton" - which you can use
in CSS stylesheet
.formButton {
text-align: left;
}
[1] http://stackoverflow.com/questions/14551305/align-attribute-deprecated
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]