I'm not very familiar with hyperlink but it is common that even if you refresh a page the css isn't always refreshed. Load your CSS separately from your web page (refresh the CSS if necessary), and the refresh the web page after.
If that doesn't help then you might have a typo with your style names. On Jul 11, 3:32 pm, Nathan <[email protected]> wrote: > Hey everyone. New GWT user here, and I ran into a problem and I'm > thoroughly confused. > I made an Anchor, with a link to another page. I told it to use the > style "my_link_style," which has "text-decoration: none;" in it. And > it worked, there was no underline, and it was the color I wanted it to > be, whether or not it had been followed. > > I then read about the GWT Hyperlink, and decided to switch ('cause > that's kinda the point, at least for internal links, right? :) ) -- so > I replaced my Anchor with a Hyperlink. It works fine, but the style > is no longer being used. I have tried replacing/updating the ".gwt- > Hyperlink { }" style, I've tried Hyperlink.setStyleName(...), > HyperLink.addStyleName(...)... none of them work to change the style > of the Hyperlink. > > Am I missing something? Any help would be appreciated. > > Thanks, > > -nathan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
