0

I am new to struts. How to change the label color for textfield?

Ex:

I want to change the color of 'Category Code'.I tried cssstyle="color: #ffffff" . But this changed the color only for text entering in textbox, not for the label .

user507333
  • 79
  • 1
  • 6

1 Answers1

0
<s:label value="Username" cssStyle="color: #ffffff;"/>
<s:textfield name="username" required="true" cssStyle="color:red"/>
MohanaRao SV
  • 1,117
  • 1
  • 8
  • 22