How to I properly use Images within a ClientBundle css?

Example:

interface MyButton extends ClientBundle {
    @Source("MyButton.css")
    Style style();

    interface Style extends CssResource {
        @ClassName("myButton-ok")
        String okStyle();

}

.myButton-ok {
    background: green !important;
    background url(ok.png) no-repeat;
}

Used by:
addStyleName(MyButton.INSTANCE.style().okStyle());

Result: I have a green background, but no image is found. 

The image is placed in the same folder as the MyButton.css is in. Why is 
the icon not showing??

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


Reply via email to