How to change CSS of Struts tags?

I have a simple <s:textfield /> field which have required = "true" attribute.

It displays

User Login*:

I want to change the asterisk to red with CSS.

I have tried but it wont changes. The tag code is the following:

<s:textfield id="userNameId" 
          label="User Login Id" 
       required="true" />

Source: jsp

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.