@chetana n i want to set background image to complete container. i am able to set color through Style Property.
But i am not getting how can add background image.
i am facing same problem to set background image to a WebButton.
Use an Image Well (technically a WebImageView) on the bottom of the Webcontainer to host the picture. Lock it on all sides so it sticks with any size.
Instead of using a WebButton and try to feed it an image, you can use an Image well as button, with a Weblabel on top of it if you need text.
That said, programming is always an exercise in aesthetics as well as engineering. The web has considerably evolved, and what was acceptable in yesteryears appears today old and out of place. Adding pictures to buttons is commonplace on the web, and I frankly do not see what it should not be done.