Hi
I am trying to use an image as a background of a button. I defined the image
as a resource in client bundle.
@Source("image/hborder.png")
ImageResource hBorder();
In the css file, I tried to reference this image with the following code
.gwt-Button {
margin: 0;
padding: 3px 5px;
text-decoration: none;
font-size: small;
cursor: pointer;
cursor: hand;
gwt-image:'hBorder' ;
background: repeat-x 0px -27px;
border: 1px outset #ccc;
}
But the image is not shown. What should I change??
Where is the problem..?
Thanks
kayser
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/nkqRfT8JOmQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.