I have the same problem with a checkbox tag, if a use the ccsStyle="color:Green" to change the label color to green, it doesn't work at run time and the label remains with a black color!
It's a serious problem. I think Hubert Hers wrote for the same thing. Could someone help us! Thanks! Laurie Harper wrote: > > 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] > > > -- View this message in context: http://www.nabble.com/How-to-control-the-display-of-Struts2-tags-like-s%3Atextfield-tf4032263.html#a11500125 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]