I don't have much idea, but you can give it a try on <s:label value="Employee ID" cssClass="class2"/>
Regards, Jishnu Viswanath Software Engineer *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll Tavant Technologies Inc., www.tavant.com PEOPLE :: PASSION :: EXCELLENCE -----Original Message----- From: Narayana S [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2008 1:47 PM To: Struts Users Mailing List Subject: Re: Customizing CSS Hi Jishnu, Thanks for your reply, it applies background color to the text field, but i want it to be applied to that entire row(that have label employee id and text field), not to the text field component alone. On Mon, Jul 14, 2008 at 12:19 PM, Jishnu Viswanath < [EMAIL PROTECTED]> wrote: > <s:textfield name="empid" label="Employee ID :" cssClass="class1"> > <s:textfield name="empname" label="Employee Name : " cssClass="class2"> > > > .class1{ > background-color:red; > } > .class2{ > background-color:blue; > } > > Sorry I have not seen your earlier mail, what ever you want to do using > class > > > Regards, > > Jishnu Viswanath > > Software Engineer > > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll > > Tavant Technologies Inc., > > www.tavant.com > > PEOPLE :: PASSION :: EXCELLENCE > > -----Original Message----- > From: Narayana S [mailto:[EMAIL PROTECTED] > Sent: Monday, July 14, 2008 11:40 AM > To: Struts Users Mailing List > Subject: Re: Customizing CSS > > Hi, > > Thanks for your reply, but i am talking about UI screen, not a > table display. in the screen itself for every control i want to apply an > alternate back ground color. for example > > <s:textfield name="empid" label="Employee ID :"> > <s:textfield name="empname" label="Employee Name : "> > > these two should come with two different background colors. > > On Thu, Jul 10, 2008 at 3:18 PM, Narayana S <[EMAIL PROTECTED]> > wrote: > > > Hi, > > > > as per my requirement, i have to apply two different colors to > > alternate rows.can any one guide me how to extend theme to implement > this? > > > Any comments or statements made in this email are not necessarily those of > Tavant Technologies. > The information transmitted is intended only for the person or entity to > which it is addressed and may > contain confidential and/or privileged material. If you have received this > in error, please contact the > sender and delete the material from any computer. All e-mails sent from or > to Tavant Technologies > may be subject to our monitoring procedures. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Any comments or statements made in this email are not necessarily those of Tavant Technologies. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you have received this in error, please contact the sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies may be subject to our monitoring procedures. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]