Hubert Hers wrote:
Hi,

Could anyone tell me how to use CSS styles in Struts2 for controlling the
display of labels, input elements, buttons etc. (s:textfield, s:button,
....)?
I can control the display of the key attribute using cssStyle or cssClass,
but did not find a way to do the same with the tags:
    <s:textfield key="username" cssStyle="color:blue;"/>

Thanks, Hubert

What exactly is the problem? cssStyle is a valid attribute for the s:textfield tag. Are you saying the CSS you supply is not rendered? Rendered but is having no effect? Or something else?

L.


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

Reply via email to