Has anyone tried to have a custombutton with a background image and
foreground text WITHOUT using the .addStyleName or .setStyleName
methods ? I'm using GWT 1.6.4 with IE 7 and I found that I can either
set the image or the text but cannot have both. So I've been playing
around with the button's html contents in various ways since many days
in trying to have the image as background (by setting the z-index
style as '-1') and having a foreground label. But so far, I haven't
been able to find a solution where i can show the button and text
together, with the button text well inside the image.
If I use .addStylename and add a style in the CSS as a backround
image, that works fine, except that the button clicks don't get
recognized anymore.
Am I missing something important ? Can someone point me in the right
direction ? Is what I'm doing even a possibility or am I better off
using the .addStyleName and figuring out why the button click's aren't
working ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to