Monday, January 31, 2011

Re: a:hover in CSSResource Bundles

Joe,
Thank you. 
But my could you please clarify how im supposed to do this?

In my ui binder template I have:
<a class={res.style.anchorStyle}>someLink</a>

In my CSSResource interface I have declared the 
String anchorStyle ( );

In the CSS file I have:
.anchorStyle{
-- style info
}
------------------------------------------------------------------------------------------------
1. How do I declare style for hover in this case?
1.1 Do I have to make a new entry in the java interface?
2. Is there any way I can define styles for the HTML elements link <a>, <h1>,<span> which are linked to the element as opposed to a CSS class?
2.1 I want to have a particular set of fonts and styles to the <body> tag, what is the best way to do this?

Thank you for your patience.
Tej 
 

--
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