struts2 forms and css
hi there, I wonder how to change the font style of my form. Currently it is in a simple 'Times New Roman' and I would like to have it differently (say verdana). the jsp page looks like this (below) and I wonder where the code should be embedded? %@ include file=/pages/layouts/taglibs.jsp % h2 class=menu id=titleAdd new Entity/h2 %@ include file=tabMenu.jsp %body class=section-1 s:form action=customize validate=true s:textfield name=name label=Legal Name / s:textarea rows=5 cols=25 name=comment2 label=Comment / s:submit action=customize_insert label=Insert align=center / /s:form -- View this message in context: http://www.nabble.com/struts2-forms-and-css-tp15164776p15164776.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts2 forms and css
xianwinwin wrote: hi there, I wonder how to change the font style of my form. Currently it is in a simple 'Times New Roman' and I would like to have it differently (say verdana). the jsp page looks like this (below) and I wonder where the code should be embedded? %@ include file=/pages/layouts/taglibs.jsp % h2 class=menu id=titleAdd new Entity/h2 %@ include file=tabMenu.jsp %body class=section-1 s:form action=customize validate=true s:textfield name=name label=Legal Name / s:textarea rows=5 cols=25 name=comment2 label=Comment / s:submit action=customize_insert label=Insert align=center / /s:form Use CSS to describe the display characteristics (font, etc.) you want, and an 'id' or 'cssClass' attribute on the s:form tag to link to the CSS rules. Alternatively, use a 'cssStyle' attribute on the s:form tag to inline the CSS. L. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts2 forms and css
thanks, this solved it -- View this message in context: http://www.nabble.com/struts2-forms-and-css-tp15164776p15170582.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]