What is /jsfRichFaces/images/fond.gif and why you use it exactly like a styleClass. i.e. like a background for top component?
Yes, this is a background image.
I want to apply this background only for the first level of my menu.
In fact we have stacked many dropdown in order to compose a vertical menu in our project (like the second example in the demo http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=dropDownMenu)
Is there another way to do that ?
"another way" is not a right word here as far as what you are trying to do is not an appropriate way at all.
If you want to have a gradient for menu item, you need to apply the style rule for menu item, but not to the top container.
I am not sure I understand your case well. Just for beginning, try to replace you selector with:
Is this step to the right way?
I want to change only the first level of the menu so i try to use :
Thanks, It works as expected in Firefox 2(http://img519.imageshack.us/my.php?image=rf314xu2.gif).
But, with IE 7, the label "Menu 1" is hidden when unselected (i see only the background image when the page is loaded). It's ok when i select the menu.
I need to modify another class ?
OK, I'm now waiting RF 3.2.1 ...
Thanks for your responses