Hello group,
I want to set background image for ListBox Item in my GWT application.
I am using following code for this:
for (int i = 0; i < listBox.getItemCount(); i++) {
DOM.getChild(listBox.getElement(), i).setClassName
("list_box_style");
}
CSS for this:
.list_box_stye{
background-image: url("../images/pkg_image2.bmp");
background-position: right;
background-repeat: no-repeat;
}
It is working in FireFox but not working in IE or Safari..
Is there any other way for this to work it in Safari and IE?
Priya
Any help is welcome..
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---