css menu - How do I style child items differently than menuparent ?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
davehoo

css menu - How do I style child items differently than menuparent ?

Post by davehoo »

I'm using horiz CSS menu on a site, I've got an image background on the parent/top menu and I'm trying to have the child items plain, no bgimage, just a background of #fff .

Is ther a simple way to acomplish this ?

Thanks
Last edited by davehoo on Thu Sep 07, 2006 5:12 pm, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: css menu - How do I style child items differently than menuparent ?

Post by tsw »

ul ul li {
background-color:#fff;
}

changes ul li list second level color.
Locked

Return to “Layout and Design (CSS & HTML)”