i wrote css for a button its working fine in GWT designer and it showing the image.
but when i compile and run its not showing the image .
and i tried getElement().getStyle() but no use
i tried
DOM.setStyleAttribute(btnNewButton.getElement(), "background", "url(../WEB-INF/btn.jpg)"); no use

Thanks... for your help ..found the solution...created new images folder and i placed all my images ther..now its working..problem is am not getting that button function..like when i press button will go down right..
–
RoyalkingMar 8 '12 at 11:43

Not sure what you mean, but guessing you want different images for different buttons states (like when down, different image). In that case take a look at PushButton, where you can set different state images.
–
Hilbrand BouwkampMar 8 '12 at 12:12