wood burning stoves 2.0*
The moose likes GWT and the fly likes Using Background Images in CSS with sprite Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Using Background Images in CSS with sprite" Watch "Using Background Images in CSS with sprite" New topic

Using Background Images in CSS with sprite

Christopher Armstrong

Joined: Oct 16, 2011
Posts: 1
Hi there,

I'm using GWT 2.4.0 with the GWT + GWTP Eclipse Plugins. I'm trying to add CSS background image using sprite:

But I can't get it to work. Can any of you guys tell me what I'm doing wrong?

Directory Structure is:
client.resources (for CSS files and Images)
+ Resources.java
client.layout (for the overall layout using one slot to render pages)
+ MainView.ui.xml
+ MainView.java
+ MainViewPresenter.java



I get following error:
20:13:15.998 [ERROR] [homepage] branding_2: Fix by adding .branding_2{}

It would be great if somebody could give me a hint.

I agree. Here's the link: http://aspose.com/file-tools
subject: Using Background Images in CSS with sprite
Similar Threads
Safari and IE issues.
Need help editing some css if possible (SOLVED)
CSS issue in Grails app, but question is on CSS
Overlapping columns in Firefox
How to create displaytag table border