Hi Laurie, A silly mistake at my end. Had included a TD in CSS wherein text-transform was set to capitalise. And I didn't pay much attention to this particular attribute assuming that nothing would be there.
Thanks for your help On Tue, May 13, 2008 at 10:32 PM, Laurie Harper <[EMAIL PROTECTED]> wrote: > Himanshu Rathore wrote: > >> When using <s:actionerror > tag, the first character of error message is >> automatically getting converted to upper case. I haven't set any >> "text-transform" property in my CSS. >> >> If I do "View Source", I see proper text but on JSP its behaving weirdly. >> >> My CSS: >> ..errorMessage { >> color: red; >> font: 10px verdana, arial, helvetica, sans-serif; >> } >> >> In "View Source" >> <ul> >> <li><span class="errorMessage">Please enter User Id</span></li> >> </ul> >> >> But on JSP, it is displayed as >> Please Enter User Id >> >> I have included struts.properties in my project classpath and have set * >> struts.ui.theme=simple* >> >> What could be the reason of this behaviour? >> > > Sounds like *something* is applying a text-transform to the text. When you > view source, what stylesheets do you see referenced? Are there any <style> > blocks, or inline styles in the markup? You might try using the Web > Developer or Firebug extensions for Firefox to examine the DOM and determine > what styles are really being applied to that element of some additional > insight into what's going on. > > L. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >