Judy, Assuming you have GCH unordered list and give all your GCH lists the same class name, e.g. Adam Brian Ann ... the styles for those "gch" lists will be:- .gch li {styles affecting all li items} ... however , if you needed to differentiate between boys and girls, then add a separate class to the appropriate li, e.g. .gch li.girl {some styles} Barry On 05/09/2015 21:57, JFlorian via wrote: > I'm still learning from fighting with nested lists, though I'm getting > there. I'm using Barry's child (CH), grandchild (GCH), and > great-grandchild (GCH) analogy in Comment Tags. > > I need to know how to write the CSS and the markup. For example, I don't > like the very wide space that Frontpage uses as it 'indents' each nesting > level. > > Looking at what I have so far, will I have to give each "generation" of ul > a class? If so, will I need to tag every single li to make it control > itself? Or can CSS be written so a ul generation and all lis in that ul > generation behave the same way? > > Judy
I think I can do the CSS for Children tier. (tier 2 li) But as each "tier" moves in (indents), would I need to make different CSS for the margins of Children versus Great-grandchildren and Great-Great-Grandchildren? As a reminder, we're using CH, GCh, GGch etc as a metaphor for tiers in nested lists. This metaphor you used, Barry, made a lot of sense to me. But I am having trouble with the closing tags after each group, especially moving from GGch back to a higher tier. Frontpage is also adding all my missing closing tags to the end of the page. Sigh. When I get more coded, I'll see what Validator says about it. Even if I never use this nested list page on my website, it's been helpful to try to correctly code a long nested list. Back to the nest~~ Judy