Thank you very much.
Is there any way to apply the stylesheet t the link like the following
statement
hl.setStyleName("gwt-Hyperlink a:active");
.gwt-Hyperlink a:link,.gwt-Hyperlink a:hover,.gwt-Hyperlink
a:visited,.gwt-Hyperlink a:active
{
color:red;
}
On Aug 26, 4:57 pm, "alex.d" <[EMAIL PROTECTED]> wrote:
> Already solved in this group. Use search.
>
> On 26 Aug., 13:52, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > hi I am not getting how tosetthe color for thehyperlinkin gwt.
> > I am trying to change the color of hyperlink to red but it is showing
> > blue color only.
> > I am pasting my code plz check and tell me the idea....
>
> > private static Hyperlink hLink_= null;
> > hLink_ = new Hyperlink("Home", "home");
> > hLink_.setStyleName("evpn-tabbedButton");
>
> > .evpn-tabbedButton {
> > font-size: 12px;
> > font-family: Arial;
> > color: #ff0000;
> > text-align: center;
> > white-space: nowrap;
> > background: no-repeat center top url('/
> > com.infovista.vistamart.evpn.Home/resources/images/
> > tab_unselected.gif');
> > width: 79px;
> > height: 17px;
>
> > }- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---