Monday, January 31, 2011

Re: a:hover in CSSResource Bundles

On Mon, Jan 31, 2011 at 17:04, Tej Sarup <tej.sarup@gmail.com> wrote:
> Hi there,
> In the normal scenario if I have some CSS like
> a, a:visited, a:hover { ... }
> How can we implement the same thing if we want to use CSSResourceBundles? I
> can create a CSS class for the anchor tag and then use
> <a class="foo"> ...</a> to define styles for the anchor tag.
> but if I want to have some effect like, underlining for example, which would
> in normal case be implemented as :
> a:hover {text-decoration:underline;}
> How should we do in the CSSResourceBundle case?
>
> Thankyou!
> Tej
>

a.foo:hover {}
a.foo:visited {}
a.foo {}

-- Joe

--
Proper software development is like female orgasm. Some claim it's a
myth, others try very hard to make it happen but don't know how, and
most magazines, books and videos showing it are showing faked ones.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment