Hi I hope in CSS, the order it is declared matters. If the css style a is referred from the HTML, then it takes the precedence. This might be something do deal with CSS than with GWT.
regards Arjun. On Thu, Feb 26, 2009 at 2:37 PM, Ray <[email protected]> wrote: > > Hi,I have a CSS file which has something as follow: > a { > color: #777777; > font-size: 12px; > text-decoration: none ; > } > > .Login{ > color:#FFFFFF > } > Now in my GWT application when I using widget Hyperlink like: > Hyperlink link = new Hyperlink(); > link.setText("Login"); > link.setStyleName("Login"); > > that link will always using color of #777777 not #FFFFFF. If CSS > setting of a is necessary,how can I override it in my widget? > > > -- Regards, Karthick J G --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
