Hi,

I am creating menu with submenu. All menus and submenus are created dynamically.So the each sumenu WIDTH & HEIGHT change Dynamically.I want apply the submenu background as image. The submenu background image is gradient effect. So i can't use the reapet-X and repeat-Y style in backgroud. How can i change the image width and height dynamically depend upon the for each submenu width and height. I am so Confused . Any one help me. Sorry for my bad english.

I am looking for your valuable comments.

Thanks & Regards,
Thiumalai.S