Hi all,

   I used the setHTML property for the Button to get some really nice
styles for the buttons in my application. This works perfectly in IE
but does not seem to work in Mozilla and Chrome. In Mozilla and Chrome
I dont see the images on the button which are visible on IE.

 My sample code is as below:

 button.setHTML("<div style=\"background:url(home.gif) repeat no-
repeat;\r\n\t\twidth:95px;\r\n\t\theight:23px;\"> Home </div>");

 Can someone please let me know if I am missing something here?

regards,
Abhiram
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to