Yup I second Mike's advise. Make sure first that CSS allows it in a static demo file, then when you get it to work, you'll know what to script exactly.
Just a remark $('ul ul li') is not the same as $('ul li'). In the first case it would only concern li which are inside an ul, inside another ul (so, excluding first-level ul). Second case concerns all LI elements. On Fri, Oct 24, 2008 at 10:11 PM, Michael Geary <[EMAIL PROTECTED]> wrote: > > Suggestion: Forget jQuery for a while. Instead, hand-edit an HTML file and > see if you can get the styling the way you want. > > That way you don't have to troubleshoot both sides at once. All you have to > worry about is the HTML and CSS. > > If you can get that to work, then you can duplicate the effect with jQuery. > > -Mike > >> From: MartyB >> >> The more I am studying this, the more I am convinced that >> what I am trying to do is impossible. >> It is impossible to disassociate a child li background-color >> from the parent's, and still let jQuery apply the :even >> filter to all li's, sequencially for both parent and child. > >